diff options
author | Max Kellermann <max@duempel.org> | 2013-08-10 13:54:20 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-10 13:54:23 +0200 |
commit | 342333f72a484e9f394026666c4b20e54dc9b756 (patch) | |
tree | 9d0febc33b34cfae114bef038a1e366a6a579242 /src | |
parent | 94cdc47786fcdbfd2c8db24046da197f087dbc5b (diff) | |
download | mpd-342333f72a484e9f394026666c4b20e54dc9b756.tar.gz mpd-342333f72a484e9f394026666c4b20e54dc9b756.tar.xz mpd-342333f72a484e9f394026666c4b20e54dc9b756.zip |
mixer/alsa: invoke InvalidateSockets() in constructor
Diffstat (limited to 'src')
-rw-r--r-- | src/mixer/AlsaMixerPlugin.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mixer/AlsaMixerPlugin.cxx b/src/mixer/AlsaMixerPlugin.cxx index 5191826c5..7bfdbb7eb 100644 --- a/src/mixer/AlsaMixerPlugin.cxx +++ b/src/mixer/AlsaMixerPlugin.cxx @@ -41,7 +41,9 @@ class AlsaMixerMonitor final : private MultiSocketMonitor { public: AlsaMixerMonitor(EventLoop &_loop, snd_mixer_t *_mixer) - :MultiSocketMonitor(_loop), mixer(_mixer) {} + :MultiSocketMonitor(_loop), mixer(_mixer) { + InvalidateSockets(); + } private: virtual int PrepareSockets() override; |