From ac32f36e4e1489664e7c202319978b6a9a15ed40 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Oct 2009 09:48:41 +0200 Subject: mixer_plugin: pass audio_output pointer to mixer_plugin.init() This allows the mixer object to access its associated audio output object. --- src/mixer/software_mixer_plugin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mixer/software_mixer_plugin.c') diff --git a/src/mixer/software_mixer_plugin.c b/src/mixer/software_mixer_plugin.c index e81d265cb..2fcacd46d 100644 --- a/src/mixer/software_mixer_plugin.c +++ b/src/mixer/software_mixer_plugin.c @@ -37,7 +37,8 @@ struct software_mixer { }; static struct mixer * -software_mixer_init(G_GNUC_UNUSED const struct config_param *param, +software_mixer_init(G_GNUC_UNUSED void *ao, + G_GNUC_UNUSED const struct config_param *param, G_GNUC_UNUSED GError **error_r) { struct software_mixer *sm = g_new(struct software_mixer, 1); -- cgit v1.2.3