Code

Reverted to relative volume changes.
authorKalle Wallin <kaw@linux.se>
Mon, 22 Mar 2004 19:55:32 +0000 (19:55 +0000)
committerKalle Wallin <kaw@linux.se>
Mon, 22 Mar 2004 19:55:32 +0000 (19:55 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@394 09075e82-0dd4-0310-85a5-a0d7c8717e4f

screen.c

index 2d61122fd91cfe08d988bab76080f93a0124a0c6..696c35f7f6811bebd0fe866244bc217b5a4f0326 100644 (file)
--- 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 )
        {