From e8938b1069739eca2bd2f27705c1c7783e834e59 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 5 Feb 2014 00:02:02 +0100 Subject: MixerPlugin: add EventLoop& init() parameter --- src/mixer/MixerControl.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mixer/MixerControl.cxx') diff --git a/src/mixer/MixerControl.cxx b/src/mixer/MixerControl.cxx index bdf6fcc2b..d64ff2c8e 100644 --- a/src/mixer/MixerControl.cxx +++ b/src/mixer/MixerControl.cxx @@ -25,7 +25,8 @@ #include Mixer * -mixer_new(const struct mixer_plugin *plugin, void *ao, +mixer_new(EventLoop &event_loop, + const mixer_plugin *plugin, void *ao, const config_param ¶m, Error &error) { @@ -33,7 +34,7 @@ mixer_new(const struct mixer_plugin *plugin, void *ao, assert(plugin != nullptr); - mixer = plugin->init(ao, param, error); + mixer = plugin->init(event_loop, ao, param, error); assert(mixer == nullptr || mixer->IsPlugin(*plugin)); -- cgit v1.2.3