From 735de602321d160b12ea2edd70a89cc105f33017 Mon Sep 17 00:00:00 2001 From: anders Date: Sun, 6 Oct 2002 11:23:02 +0000 Subject: Adding -format and -af switches git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7615 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-mplayer.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cfg-mplayer.h') diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 2a5a778c3f..0c6d38772a 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -111,6 +111,14 @@ extern int nortc; /* from libvo/aspect.c */ extern float monitor_aspect; +#include "libaf/af.h" +extern af_cfg_t af_cfg; // Audio filter configuration, defined in libmpcodecs/dec_audio.c +struct config audio_filter_conf[]={ + {"list", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, + {"force", &af_cfg.force, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL}, + {NULL, NULL, 0, 0, 0, 0, NULL} +}; + /* Options related to audio out plugins */ struct config ao_plugin_conf[]={ {"list", &ao_plugin_cfg.plugin_list, CONF_TYPE_STRING, 0, 0, 0, NULL}, @@ -167,6 +175,7 @@ static config_t mplayer_opts[]={ {"ao", &audio_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, {"aop", ao_plugin_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, + {"af", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, {"dsp", "Use -ao oss:dsp_path!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, {"master", "Option -master has been removed, use -aop list=volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, -- cgit v1.2.3