Mercurial > mplayer.hg
comparison cfg-mplayer.h @ 7614:ce6a938aa6d3
Adding -format and -af switches
author | anders |
---|---|
date | Sun, 06 Oct 2002 11:23:02 +0000 |
parents | c3bbe602aff3 |
children | b10d6345f2a6 |
comparison
equal
deleted
inserted
replaced
7613:ff6bcf692358 | 7614:ce6a938aa6d3 |
---|---|
109 #endif | 109 #endif |
110 | 110 |
111 /* from libvo/aspect.c */ | 111 /* from libvo/aspect.c */ |
112 extern float monitor_aspect; | 112 extern float monitor_aspect; |
113 | 113 |
114 #include "libaf/af.h" | |
115 extern af_cfg_t af_cfg; // Audio filter configuration, defined in libmpcodecs/dec_audio.c | |
116 struct config audio_filter_conf[]={ | |
117 {"list", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, | |
118 {"force", &af_cfg.force, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL}, | |
119 {NULL, NULL, 0, 0, 0, 0, NULL} | |
120 }; | |
121 | |
114 /* Options related to audio out plugins */ | 122 /* Options related to audio out plugins */ |
115 struct config ao_plugin_conf[]={ | 123 struct config ao_plugin_conf[]={ |
116 {"list", &ao_plugin_cfg.plugin_list, CONF_TYPE_STRING, 0, 0, 0, NULL}, | 124 {"list", &ao_plugin_cfg.plugin_list, CONF_TYPE_STRING, 0, 0, 0, NULL}, |
117 {"delay", &ao_plugin_cfg.pl_delay_len, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, | 125 {"delay", &ao_plugin_cfg.pl_delay_len, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, |
118 {"format", &ao_plugin_cfg.pl_format_type, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, | 126 {"format", &ao_plugin_cfg.pl_format_type, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, |
165 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, | 173 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, |
166 {"vo", &video_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, | 174 {"vo", &video_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, |
167 {"ao", &audio_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, | 175 {"ao", &audio_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, |
168 | 176 |
169 {"aop", ao_plugin_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | 177 {"aop", ao_plugin_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, |
178 {"af", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | |
170 {"dsp", "Use -ao oss:dsp_path!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, | 179 {"dsp", "Use -ao oss:dsp_path!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, |
171 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, | 180 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, |
172 {"master", "Option -master has been removed, use -aop list=volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, | 181 {"master", "Option -master has been removed, use -aop list=volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, |
173 // override audio buffer size (used only by -ao oss, anyway obsolete...) | 182 // override audio buffer size (used only by -ao oss, anyway obsolete...) |
174 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, | 183 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, |