aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_plugin.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-21 09:48:41 +0200
committerMax Kellermann <max@duempel.org>2009-10-21 09:48:41 +0200
commitac32f36e4e1489664e7c202319978b6a9a15ed40 (patch)
treec57ac0a4cc582bbf66727b1e1f2059373923a4da /src/mixer_plugin.h
parentb8ccc885c883a24265cd49de385b61d368a1b66f (diff)
downloadmpd-ac32f36e4e1489664e7c202319978b6a9a15ed40.tar.gz
mpd-ac32f36e4e1489664e7c202319978b6a9a15ed40.tar.xz
mpd-ac32f36e4e1489664e7c202319978b6a9a15ed40.zip
mixer_plugin: pass audio_output pointer to mixer_plugin.init()
This allows the mixer object to access its associated audio output object.
Diffstat (limited to 'src/mixer_plugin.h')
-rw-r--r--src/mixer_plugin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mixer_plugin.h b/src/mixer_plugin.h
index f3f70e2ef..648c3280c 100644
--- a/src/mixer_plugin.h
+++ b/src/mixer_plugin.h
@@ -38,11 +38,14 @@ struct mixer_plugin {
/**
* Alocates and configures a mixer device.
*
+ * @param ao the pointer returned by audio_output_plugin.init
+ * @param param the configuration section, or NULL if there is
+ * no configuration
* @param error_r location to store the error occuring, or
* NULL to ignore errors
* @return a mixer object, or NULL on error
*/
- struct mixer *(*init)(const struct config_param *param,
+ struct mixer *(*init)(void *ao, const struct config_param *param,
GError **error_r);
/**