diff options
author | Max Kellermann <max@duempel.org> | 2013-12-14 12:37:16 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-14 12:37:16 +0100 |
commit | c7b1038a9de21d73a229ff68b58daa1824bfd643 (patch) | |
tree | c70ca2e91daf69ca23bb82d80341302731be98a1 /src/mixer/AlsaMixerPlugin.cxx | |
parent | d43aa1298728f856d3d3a29477a91b79633022fe (diff) | |
parent | c170fed6f9a747bfe9e4e53a85ebc2e92a70bab6 (diff) | |
download | mpd-c7b1038a9de21d73a229ff68b58daa1824bfd643.tar.gz mpd-c7b1038a9de21d73a229ff68b58daa1824bfd643.tar.xz mpd-c7b1038a9de21d73a229ff68b58daa1824bfd643.zip |
Merge branch 'v0.18.x'
Diffstat (limited to '')
-rw-r--r-- | src/mixer/AlsaMixerPlugin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mixer/AlsaMixerPlugin.cxx b/src/mixer/AlsaMixerPlugin.cxx index 7defdd7be..b81ca4246 100644 --- a/src/mixer/AlsaMixerPlugin.cxx +++ b/src/mixer/AlsaMixerPlugin.cxx @@ -24,6 +24,7 @@ #include "Main.hxx" #include "event/MultiSocketMonitor.hxx" #include "event/Loop.hxx" +#include "event/Call.hxx" #include "util/ASCII.hxx" #include "util/ReusableArray.hxx" #include "util/Error.hxx" @@ -46,7 +47,7 @@ class AlsaMixerMonitor final : private MultiSocketMonitor { public: AlsaMixerMonitor(EventLoop &_loop, snd_mixer_t *_mixer) :MultiSocketMonitor(_loop), mixer(_mixer) { - _loop.AddCall([this](){ InvalidateSockets(); }); + BlockingCall(_loop, [this](){ InvalidateSockets(); }); } private: |