diff options
author | Max Kellermann <max@duempel.org> | 2009-10-21 09:48:41 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-21 09:48:41 +0200 |
commit | ac32f36e4e1489664e7c202319978b6a9a15ed40 (patch) | |
tree | c57ac0a4cc582bbf66727b1e1f2059373923a4da /src/mixer_plugin.h | |
parent | b8ccc885c883a24265cd49de385b61d368a1b66f (diff) | |
download | mpd-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.h | 5 |
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); /** |