Mercurial > mplayer.hg
diff cfg-mplayer.h @ 13098:907fe1fdfc6c
Make the stepsize of volume changes, changeable by a commandline paarameter
author | attila |
---|---|
date | Mon, 23 Aug 2004 00:31:33 +0000 |
parents | d38bf4094bb5 |
children | b872a27aea9e |
line wrap: on
line diff
--- a/cfg-mplayer.h Mon Aug 23 00:25:19 2004 +0000 +++ b/cfg-mplayer.h Mon Aug 23 00:31:33 2004 +0000 @@ -47,6 +47,8 @@ extern int fakemono; // defined in dec_audio.c #endif +extern int volstep; + #ifdef HAVE_LIRC extern char *lirc_configfile; #endif @@ -190,6 +192,7 @@ {"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},