audio: change default preference order of AO drivers
[mplayer.git] / options.h
blob9f1352d98f8212ae2afd58ce2d746425e1800d4b
1 #ifndef MPLAYER_OPTIONS_H
2 #define MPLAYER_OPTIONS_H
4 typedef struct MPOpts {
5 char **video_driver_list;
6 char **audio_driver_list;
7 int fixed_vo;
8 int vo_ontop;
9 int gapless_audio;
10 int ao_buffersize;
11 int screen_size_x;
12 int screen_size_y;
13 int vo_screenwidth;
14 int vo_screenheight;
15 int force_window_position;
16 char *vo_winname;
17 char *vo_wintitle;
18 float force_monitor_aspect;
19 float monitor_pixel_aspect;
20 int vidmode;
21 int fullscreen;
22 int vo_dbpp;
23 float vo_panscanrange;
24 int requested_colorspace;
25 int requested_input_range;
26 int requested_output_range;
28 // ranges -100 - 100, 1000 if the vo default should be used
29 int vo_gamma_gamma;
30 int vo_gamma_brightness;
31 int vo_gamma_contrast;
32 int vo_gamma_saturation;
33 int vo_gamma_hue;
35 int osd_level;
36 int osd_duration;
37 int osd_fractions;
38 char *vobsub_name;
39 int auto_quality;
40 int benchmark;
41 char *stream_dump_name;
42 int capture_dump;
43 int loop_times;
44 int ordered_chapters;
45 int chapter_merge_threshold;
46 int quiet;
47 int noconfig;
48 float stream_cache_min_percent;
49 float stream_cache_seek_min_percent;
50 int chapterrange[2];
51 int edition_id;
52 int correct_pts;
53 int user_correct_pts;
54 int user_pts_assoc_mode;
55 int initial_audio_sync;
56 int hr_seek;
57 float hr_seek_demuxer_offset;
58 int autosync;
59 int softsleep;
60 int rtc;
61 char *rtc_device;
62 int term_osd;
63 char *term_osd_esc;
64 char *playing_msg;
65 int player_idle_mode;
66 int consolecontrols;
67 int doubleclick_time;
68 int list_properties;
69 double seek_to_sec;
70 int audio_id;
71 int video_id;
72 int sub_id;
73 char **audio_lang;
74 char **sub_lang;
75 int hr_mp3_seek;
77 char *audio_stream;
78 int audio_stream_cache;
79 char *sub_stream;
80 char *demuxer_name;
81 char *audio_demuxer_name;
82 char *sub_demuxer_name;
83 int extension_parsing;
85 int audio_output_channels;
86 int audio_output_format;
87 float playback_speed;
88 float drc_level;
89 struct m_obj_settings *vf_settings;
90 int softzoom;
91 float movie_aspect;
92 float screen_size_xy;
93 int flip;
94 int vd_use_slices;
95 char **sub_name;
96 char **sub_paths;
97 int sub_auto;
98 int ass_enabled;
99 float ass_font_scale;
100 float ass_line_spacing;
101 int ass_top_margin;
102 int ass_bottom_margin;
103 int ass_use_margins;
104 int ass_vsfilter_aspect_compat;
105 int use_embedded_fonts;
106 char **ass_force_style_list;
107 char *ass_color;
108 char *ass_border_color;
109 char *ass_styles_file;
110 int ass_hinting;
111 struct lavc_param {
112 int workaround_bugs;
113 int error_resilience;
114 int error_concealment;
115 int gray;
116 int vstats;
117 int idct_algo;
118 int debug;
119 int vismv;
120 int skip_top;
121 int skip_bottom;
122 int fast;
123 char *lowres_str;
124 char *skip_loop_filter_str;
125 char *skip_idct_str;
126 char *skip_frame_str;
127 int threads;
128 int bitexact;
129 char *avopt;
130 } lavc_param;
132 struct lavfdopts {
133 unsigned int probesize;
134 unsigned int analyzeduration;
135 char *format;
136 char *cryptokey;
137 char *avopt;
138 } lavfdopts;
140 struct input_conf {
141 char *config_file;
142 int key_fifo_size;
143 unsigned int ar_delay;
144 unsigned int ar_rate;
145 char *js_dev;
146 char *ar_dev;
147 char *in_file;
148 int use_joystick;
149 int use_lirc;
150 int use_lircc;
151 int use_ar; // apple remote
152 int default_bindings;
153 } input;
154 } MPOpts;
156 #endif