From afbf29da1ac18a78931dd21b49b2504a528a92a9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 9 Apr 2013 02:41:46 +0200 Subject: core: remove volstep global variable --- core/cfg-mplayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/cfg-mplayer.h') diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index a85f83ac36..dd99e6c4bd 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -543,7 +543,7 @@ const m_option_t mplayer_opts[]={ {"yes", SOFTVOL_YES}, {"auto", SOFTVOL_AUTO})), OPT_FLOATRANGE("softvol-max", softvol_max, 0, 10, 10000), - {"volstep", &volstep, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL}, + OPT_INTRANGE("volstep", volstep, 0, 0, 100), OPT_FLOATRANGE("volume", mixer_init_volume, 0, -1, 10000), OPT_CHOICE("mute", mixer_init_mute, M_OPT_OPTIONAL_PARAM, ({"auto", -1}, -- cgit v1.2.3