From dcd84c19cdb71cfb594851995cdaffdf39453bdc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 25 Feb 2009 18:34:02 +0100 Subject: output_plugin: don't pass audio_output object to method init() audio_output_get_name() has been removed, which was the only function left in output_api.h. The output plugin doesn't need the audio_output object at all, remove the parameter from the init() method. --- src/output_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output_init.c') diff --git a/src/output_init.c b/src/output_init.c index 1e2592e8d..c4f2f55b6 100644 --- a/src/output_init.c +++ b/src/output_init.c @@ -109,7 +109,7 @@ audio_output_init(struct audio_output *ao, const struct config_param *param) notify_init(&ao->notify); ao->command = AO_COMMAND_NONE; - ao->data = ao_plugin_init(plugin, ao, + ao->data = ao_plugin_init(plugin, format ? &ao->config_audio_format : NULL, param); if (ao->data == NULL) -- cgit v1.2.3