aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-22 19:55:32 +0000
committerKalle Wallin <kaw@linux.se>2004-03-22 19:55:32 +0000
commit2adb895c7853727adc57eae84229969203bf5731 (patch)
treee1f16ec8cdaa2f16b52445199d0a1818a6c5307c /screen.c
parent740715e48c06d79963bb192292cb802f02a03a4d (diff)
downloadmpd-2adb895c7853727adc57eae84229969203bf5731.tar.gz
mpd-2adb895c7853727adc57eae84229969203bf5731.tar.xz
mpd-2adb895c7853727adc57eae84229969203bf5731.zip
Reverted to relative volume changes.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@394 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index 2d61122fd..696c35f7f 100644
--- a/screen.c
+++ b/screen.c
@@ -475,7 +475,8 @@ screen_cmd(mpd_client_t *c, command_t cmd)
screen_status_message(c, buf);
break;
case CMD_VOLUME_UP:
- mpd_sendSetvolCommand(c->connection, 1);
+ // mpd_sendSetvolCommand(c->connection, X );
+ mpd_sendVolumeCommand(c->connection, 1);
mpd_finishCommand(c->connection);
if( c->status->volume!=MPD_STATUS_NO_VOLUME )
{
@@ -484,7 +485,8 @@ screen_cmd(mpd_client_t *c, command_t cmd)
}
break;
case CMD_VOLUME_DOWN:
- mpd_sendSetvolCommand(c->connection, -1);
+ // mpd_sendSetvolCommand(c->connection, X );
+ mpd_sendVolumeCommand(c->connection, -1);
mpd_finishCommand(c->connection);
if( c->status->volume!=MPD_STATUS_NO_VOLUME )
{