diff options
author | Max Kellermann <max@duempel.org> | 2014-02-05 23:20:33 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-19 21:40:14 +0100 |
commit | 8d6fedf8177d0d2ced81e6d93d35c368b2ac69db (patch) | |
tree | 17890432eb5d7f6cbdf5feb32a0105dc6f9d8974 /src/mixer/MixerPlugin.hxx | |
parent | f4f8fa7c947af10235d1cdd70b294a3b8810c6f4 (diff) | |
download | mpd-8d6fedf8177d0d2ced81e6d93d35c368b2ac69db.tar.gz mpd-8d6fedf8177d0d2ced81e6d93d35c368b2ac69db.tar.xz mpd-8d6fedf8177d0d2ced81e6d93d35c368b2ac69db.zip |
Mixer: add class MixerListener
Use a listener interface instead of GlobalEvents.
Diffstat (limited to '')
-rw-r--r-- | src/mixer/MixerPlugin.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
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); |