diff options
author | Max Kellermann <max@duempel.org> | 2014-02-05 00:02:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-05 00:02:02 +0100 |
commit | e8938b1069739eca2bd2f27705c1c7783e834e59 (patch) | |
tree | 482330dbf228c12a60c9a401f0428cc4e292e234 /src/mixer/MixerControl.cxx | |
parent | 4a283330394fd2e1541a03bd312e5fadf54aa055 (diff) |
MixerPlugin: add EventLoop& init() parameter
Diffstat (limited to 'src/mixer/MixerControl.cxx')
-rw-r--r-- | src/mixer/MixerControl.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
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 <assert.h> 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)); |