Commit 667e22bb authored by Max Kellermann's avatar Max Kellermann

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

parent d4d838c8
...@@ -59,7 +59,7 @@ static int ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment