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/MixerPlugin.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mixer/MixerPlugin.hxx') 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); /** -- cgit v1.2.3