comparison cfg-mplayer.h @ 9349:7422a4240659

1000l (af moved to common)
author arpi
date Sat, 08 Feb 2003 20:52:25 +0000
parents 64c93eab2c43
children 2552d4413fd8
comparison
equal deleted inserted replaced
9348:96277de819b0 9349:7422a4240659
124 #endif 124 #endif
125 125
126 /* from libvo/aspect.c */ 126 /* from libvo/aspect.c */
127 extern float monitor_aspect; 127 extern float monitor_aspect;
128 128
129 #include "libaf/af.h"
130 extern af_cfg_t af_cfg; // Audio filter configuration, defined in libmpcodecs/dec_audio.c
131 struct config audio_filter_conf[]={
132 {"list", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
133 {"force", &af_cfg.force, CONF_TYPE_INT, CONF_RANGE, 0, 7, NULL},
134 {NULL, NULL, 0, 0, 0, 0, NULL}
135 };
136
137 /* Options related to audio out plugins */ 129 /* Options related to audio out plugins */
138 struct config ao_plugin_conf[]={ 130 struct config ao_plugin_conf[]={
139 {"list", &ao_plugin_cfg.plugin_list, CONF_TYPE_STRING, 0, 0, 0, NULL}, 131 {"list", &ao_plugin_cfg.plugin_list, CONF_TYPE_STRING, 0, 0, 0, NULL},
140 {"delay", &ao_plugin_cfg.pl_delay_len, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, 132 {"delay", &ao_plugin_cfg.pl_delay_len, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
141 {"format", &ao_plugin_cfg.pl_format_type, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, 133 {"format", &ao_plugin_cfg.pl_format_type, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
188 {"vo", &video_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, 180 {"vo", &video_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
189 {"ao", &audio_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, 181 {"ao", &audio_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
190 {"fixed-vo", &fixed_vo, CONF_TYPE_FLAG, 0, 0, 1, NULL}, 182 {"fixed-vo", &fixed_vo, CONF_TYPE_FLAG, 0, 0, 1, NULL},
191 183
192 {"aop", ao_plugin_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, 184 {"aop", ao_plugin_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
193 {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
194 {"af", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
195 {"dsp", "Use -ao oss:dsp_path!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, 185 {"dsp", "Use -ao oss:dsp_path!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
196 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, 186 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
197 {"master", "Option -master has been removed, use -aop list=volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, 187 {"master", "Option -master has been removed, use -aop list=volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
198 // override audio buffer size (used only by -ao oss, anyway obsolete...) 188 // override audio buffer size (used only by -ao oss, anyway obsolete...)
199 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, 189 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},