aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-18 12:06:46 +0200
committerMax Kellermann <max@duempel.org>2011-09-18 12:06:46 +0200
commit667e22bbc79c9967cf96ef543a3d5d6dadfa7947 (patch)
tree8fcb6188d9b3098ea2399514898f378c07343f38
parentd4d838c8bbe6d537055f9ae91436c8c8c7e76e09 (diff)
downloadmpd-667e22bbc79c9967cf96ef543a3d5d6dadfa7947.tar.gz
mpd-667e22bbc79c9967cf96ef543a3d5d6dadfa7947.tar.xz
mpd-667e22bbc79c9967cf96ef543a3d5d6dadfa7947.zip
output/roar: unknown volume is -1, not 0
-rw-r--r--src/output/roar_output_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/roar_output_plugin.c b/src/output/roar_output_plugin.c
index c43b5ac34..2af771f72 100644
--- a/src/output/roar_output_plugin.c
+++ b/src/output/roar_output_plugin.c
@@ -59,7 +59,7 @@ static int
roar_output_get_volume_locked(struct roar *roar)
{
if (roar->vss == NULL || !roar->alive)
- return 0;
+ return -1;
float l, r;
int error;