Code

We now uses mpd_sendSetvolCommand(), not the old mpd_sendVolumeCommand().
authorKalle Wallin <kaw@linux.se>
Mon, 22 Mar 2004 12:45:17 +0000 (12:45 +0000)
committerKalle Wallin <kaw@linux.se>
Mon, 22 Mar 2004 12:45:17 +0000 (12:45 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@366 09075e82-0dd4-0310-85a5-a0d7c8717e4f

screen.c

index 74244befcfc3b63ffc8f6e69b4423572fbb9d565..98c08eb66027c601bf186a9678d74e916bfd4ff9 100644 (file)
--- a/screen.c
+++ b/screen.c
@@ -459,7 +459,7 @@ screen_cmd(mpd_client_t *c, command_t cmd)
       screen_status_message(c, buf);
       break;
     case CMD_VOLUME_UP:
-      mpd_sendVolumeCommand(c->connection, 1);
+      mpd_sendSetvolCommand(c->connection, 1);
       mpd_finishCommand(c->connection);
       if( c->status->volume!=MPD_STATUS_NO_VOLUME )
        {
@@ -468,7 +468,7 @@ screen_cmd(mpd_client_t *c, command_t cmd)
        }
       break;
     case CMD_VOLUME_DOWN:
-      mpd_sendVolumeCommand(c->connection, -1);
+      mpd_sendSetvolCommand(c->connection, -1);
       mpd_finishCommand(c->connection);
       if( c->status->volume!=MPD_STATUS_NO_VOLUME )
        {