output/roar: unknown volume is -1, not 0
This commit is contained in:
parent
d4d838c8bb
commit
667e22bbc7
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user