aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-22 12:45:17 +0000
committerKalle Wallin <kaw@linux.se>2004-03-22 12:45:17 +0000
commit6aac153f534bfd0b8485754559854a036fcd586c (patch)
tree1b4419fc5e85edf7842bf2b69ba496df79b969f9
parent5a07733504e9d8e4243caae23f9d43bce6ef0da6 (diff)
downloadmpd-6aac153f534bfd0b8485754559854a036fcd586c.tar.gz
mpd-6aac153f534bfd0b8485754559854a036fcd586c.tar.xz
mpd-6aac153f534bfd0b8485754559854a036fcd586c.zip
We now uses mpd_sendSetvolCommand(), not the old mpd_sendVolumeCommand().
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@366 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index 74244befc..98c08eb66 100644
--- 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 )
{