From 0f4a3c14c3774acb3cca332f530a96385617278a Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 21 Aug 2002 20:44:29 +0000 Subject: new slave volume command done : "volume " where : abs optionnal, 0 : relative, x > 0 increase else decrease 1 : static, x = volume, 0 to 100 for sofware plugin, remember to / 2.55 before commiting patch by "j.a.l" git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7056 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input') diff --git a/input/input.c b/input/input.c index 6265ae3eac..9c23ee9b2a 100644 --- a/input/input.c +++ b/input/input.c @@ -51,7 +51,7 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_PLAY_ALT_SRC_STEP, "alt_src_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } }, { MP_CMD_SUB_DELAY, "sub_delay",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_OSD, "osd",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, - { MP_CMD_VOLUME, "volume", 1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } }, + { MP_CMD_VOLUME, "volume", 1, { { MP_CMD_ARG_INT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_MIXER_USEMASTER, "use_master", 0, { {-1,{0}} } }, { MP_CMD_MUTE, "mute", 0, { {-1,{0}} } }, { MP_CMD_CONTRAST, "contrast",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, -- cgit v1.2.3