Commit 342333f7 authored by Max Kellermann's avatar Max Kellermann

mixer/alsa: invoke InvalidateSockets() in constructor

parent 94cdc477
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment