summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-14 11:27:58 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-14 11:27:58 +0000
commite2f2ca1cbb6fc68f67a2bcd3c76237be77f3e04e (patch)
treef314d5b39312ad5d84b700f7de41e3a5f03cca7b /cfg-mplayer.h
parent8fb512dbf09eea504622afebd39ba7dba858ef4b (diff)
downloadmpv-e2f2ca1cbb6fc68f67a2bcd3c76237be77f3e04e.tar.bz2
mpv-e2f2ca1cbb6fc68f67a2bcd3c76237be77f3e04e.tar.xz
allow forcing of software volume control and setting maximum amplification.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13934 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 53ec4e0d1a..5eb10c4922 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -174,6 +174,9 @@ m_option_t mplayer_opts[]={
{"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},
{"mixer-channel", &mixer_channel, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"softvol", &soft_vol, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"nosoftvol", &soft_vol, CONF_TYPE_FLAG, 0, 1, 0, NULL},
+ {"softvol-max", &soft_vol_max, CONF_TYPE_FLOAT, CONF_RANGE, 10, 10000, NULL},
{"volstep", &volstep, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
{"master", "Option -master has been removed, use -aop list=volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
// override audio buffer size (used only by -ao oss, anyway obsolete...)