aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer/MixerPlugin.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixer/MixerPlugin.hxx')
-rw-r--r--src/mixer/MixerPlugin.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mixer/MixerPlugin.hxx b/src/mixer/MixerPlugin.hxx
index 27e59accf..bf9af14e3 100644
--- a/src/mixer/MixerPlugin.hxx
+++ b/src/mixer/MixerPlugin.hxx
@@ -28,6 +28,7 @@
#define MPD_MIXER_PLUGIN_HXX
struct config_param;
+struct AudioOutput;
class Mixer;
class EventLoop;
class Error;
@@ -36,13 +37,13 @@ struct MixerPlugin {
/**
* Alocates and configures a mixer device.
*
- * @param ao the pointer returned by AudioOutputPlugin.init
+ * @param ao the associated AudioOutput
* @param param the configuration section
* @param error_r location to store the error occurring, or
* nullptr to ignore errors
* @return a mixer object, or nullptr on error
*/
- Mixer *(*init)(EventLoop &event_loop, void *ao,
+ Mixer *(*init)(EventLoop &event_loop, AudioOutput &ao,
const config_param &param,
Error &error);