diff options
Diffstat (limited to '')
-rw-r--r-- | src/mixer/plugins/RoarMixerPlugin.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mixer/plugins/RoarMixerPlugin.cxx b/src/mixer/plugins/RoarMixerPlugin.cxx index 7c2a25dfb..8e198478d 100644 --- a/src/mixer/plugins/RoarMixerPlugin.cxx +++ b/src/mixer/plugins/RoarMixerPlugin.cxx @@ -29,9 +29,9 @@ class RoarMixer final : public Mixer { RoarOutput &self; public: - RoarMixer(RoarOutput &_output) - :Mixer(roar_mixer_plugin), - self(_output) {} + RoarMixer(RoarOutput &_output, MixerListener &_listener) + :Mixer(roar_mixer_plugin, _listener), + self(_output) {} /* virtual methods from class Mixer */ virtual bool Open(gcc_unused Error &error) override { @@ -47,10 +47,11 @@ public: static Mixer * roar_mixer_init(gcc_unused EventLoop &event_loop, AudioOutput &ao, + MixerListener &listener, gcc_unused const config_param ¶m, gcc_unused Error &error) { - return new RoarMixer((RoarOutput &)ao); + return new RoarMixer((RoarOutput &)ao, listener); } int |