mixer/alsa: invoke InvalidateSockets() in constructor
This commit is contained in:
parent
94cdc47786
commit
342333f72a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue