output/roar: unknown volume is -1, not 0

This commit is contained in:
Max Kellermann 2011-09-18 12:06:46 +02:00
parent d4d838c8bb
commit 667e22bbc7

View File

@ -59,7 +59,7 @@ static int
roar_output_get_volume_locked(struct roar *roar) roar_output_get_volume_locked(struct roar *roar)
{ {
if (roar->vss == NULL || !roar->alive) if (roar->vss == NULL || !roar->alive)
return 0; return -1;
float l, r; float l, r;
int error; int error;