summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-23 00:31:33 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-23 00:31:33 +0000
commit8d2a80047b01ab454245907686e3734aa9dda049 (patch)
tree766d7a96e78cdb8710ede5df5842063d591590af /cfg-mplayer.h
parent0cadfe304f8c9258e661d894a80b5f85ca5b931a (diff)
downloadmpv-8d2a80047b01ab454245907686e3734aa9dda049.tar.bz2
mpv-8d2a80047b01ab454245907686e3734aa9dda049.tar.xz
Make the stepsize of volume changes, changeable by a commandline paarameter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13099 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 54946660f5..05ac9f98d4 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -47,6 +47,8 @@ extern int sdl_forcexv;
extern int fakemono; // defined in dec_audio.c
#endif
+extern int volstep;
+
#ifdef HAVE_LIRC
extern char *lirc_configfile;
#endif
@@ -190,6 +192,7 @@ 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},
+ {"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...)
{"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},