summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authoranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-06 11:23:02 +0000
committeranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-06 11:23:02 +0000
commit735de602321d160b12ea2edd70a89cc105f33017 (patch)
tree862d68c69b45b7123979ed2bb5038391a537655c /cfg-mplayer.h
parent3605b121ab30aeffd320c09b15d9b37573debffb (diff)
downloadmpv-735de602321d160b12ea2edd70a89cc105f33017.tar.bz2
mpv-735de602321d160b12ea2edd70a89cc105f33017.tar.xz
Adding -format and -af switches
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7615 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h9
1 files changed, 9 insertions, 0 deletions
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},