fix(volume): Do not require pending events when querying for headphones
This commit is contained in:
parent
8c8d5bc4a8
commit
20ebe00656
@ -75,9 +75,6 @@ namespace alsa
|
||||
{
|
||||
int err;
|
||||
|
||||
if (!this->wait(0))
|
||||
return false;
|
||||
|
||||
if ((err = snd_hctl_elem_read(this->elem, this->value)) < 0)
|
||||
throw ControlInterfaceError(err, "Could not read control value: "+ STRSNDERR(err));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user