aboutsummaryrefslogtreecommitdiffstats
path: root/src/volume.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 13:50:16 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 13:50:16 +0200
commitf7e414d9347aaf2397f883181c8bdb6959380143 (patch)
tree0a8f8553b0cd744a678fecd76e302fb7e63c0ce7 /src/volume.h
parent8e3c40f032d1c760b9dc11df654c577baaf5f76a (diff)
downloadmpd-f7e414d9347aaf2397f883181c8bdb6959380143.tar.gz
mpd-f7e414d9347aaf2397f883181c8bdb6959380143.tar.xz
mpd-f7e414d9347aaf2397f883181c8bdb6959380143.zip
volume: don't pass "fd" to changeVolumeLevel()
The "volume" library shouldn't talk to the client. Move error handling to command.c.
Diffstat (limited to '')
-rw-r--r--src/volume.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/volume.h b/src/volume.h
index 85a9eefa8..a92cdd8bb 100644
--- a/src/volume.h
+++ b/src/volume.h
@@ -33,7 +33,7 @@ void finishVolume(void);
int getVolumeLevel(void);
-int changeVolumeLevel(int fd, int change, int rel);
+int changeVolumeLevel(int change, int rel);
void read_sw_volume_state(FILE *fp);