From 20ebe00656815226770f7285cd779b61c705ecb0 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Thu, 2 Jun 2016 19:00:04 +0200 Subject: [PATCH] fix(volume): Do not require pending events when querying for headphones --- src/interfaces/alsa.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/interfaces/alsa.cpp b/src/interfaces/alsa.cpp index 551b0ed1..0e5823d2 100644 --- a/src/interfaces/alsa.cpp +++ b/src/interfaces/alsa.cpp @@ -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));