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/MixerPlugin.hxx | |
parent | 4a283330394fd2e1541a03bd312e5fadf54aa055 (diff) | |
download | mpd-e8938b1069739eca2bd2f27705c1c7783e834e59.tar.gz mpd-e8938b1069739eca2bd2f27705c1c7783e834e59.tar.xz mpd-e8938b1069739eca2bd2f27705c1c7783e834e59.zip |
MixerPlugin: add EventLoop& init() parameter
Diffstat (limited to '')
-rw-r--r-- | src/mixer/MixerPlugin.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mixer/MixerPlugin.hxx b/src/mixer/MixerPlugin.hxx index 2df0d809e..79ba378a0 100644 --- a/src/mixer/MixerPlugin.hxx +++ b/src/mixer/MixerPlugin.hxx @@ -29,6 +29,7 @@ struct config_param; class Mixer; +class EventLoop; class Error; struct mixer_plugin { @@ -41,7 +42,8 @@ struct mixer_plugin { * nullptr to ignore errors * @return a mixer object, or nullptr on error */ - Mixer *(*init)(void *ao, const config_param ¶m, + Mixer *(*init)(EventLoop &event_loop, void *ao, + const config_param ¶m, Error &error); /** |