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/MixerPlugin.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mixer/MixerPlugin.hxx') diff --git a/src/mixer/MixerPlugin.hxx b/src/mixer/MixerPlugin.hxx index bf9af14e3..02bae844e 100644 --- a/src/mixer/MixerPlugin.hxx +++ b/src/mixer/MixerPlugin.hxx @@ -30,6 +30,7 @@ struct config_param; struct AudioOutput; class Mixer; +class MixerListener; class EventLoop; class Error; @@ -44,6 +45,7 @@ struct MixerPlugin { * @return a mixer object, or nullptr on error */ Mixer *(*init)(EventLoop &event_loop, AudioOutput &ao, + MixerListener &listener, const config_param ¶m, Error &error); -- cgit v1.2.3