From 667e22bbc79c9967cf96ef543a3d5d6dadfa7947 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 18 Sep 2011 12:06:46 +0200 Subject: [PATCH] output/roar: unknown volume is -1, not 0 --- src/output/roar_output_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;