From 8d6fedf8177d0d2ced81e6d93d35c368b2ac69db Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 5 Feb 2014 23:20:33 +0100 Subject: Mixer: add class MixerListener Use a listener interface instead of GlobalEvents. --- src/mixer/MixerControl.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mixer/MixerControl.cxx') diff --git a/src/mixer/MixerControl.cxx b/src/mixer/MixerControl.cxx index 568fad058..6d08140db 100644 --- a/src/mixer/MixerControl.cxx +++ b/src/mixer/MixerControl.cxx @@ -27,10 +27,11 @@ Mixer * mixer_new(EventLoop &event_loop, const MixerPlugin &plugin, AudioOutput &ao, + MixerListener &listener, const config_param ¶m, Error &error) { - Mixer *mixer = plugin.init(event_loop, ao, param, error); + Mixer *mixer = plugin.init(event_loop, ao, listener, param, error); assert(mixer == nullptr || mixer->IsPlugin(plugin)); -- cgit v1.2.3