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/pulse_plugin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/output/pulse_plugin.c') diff --git a/src/output/pulse_plugin.c b/src/output/pulse_plugin.c index 9fd8d6d9c..7114a3adb 100644 --- a/src/output/pulse_plugin.c +++ b/src/output/pulse_plugin.c @@ -53,8 +53,7 @@ static void pulse_free_data(struct pulse_data *pd) } static void * -pulse_init(G_GNUC_UNUSED struct audio_output *ao, - G_GNUC_UNUSED const struct audio_format *audio_format, +pulse_init(G_GNUC_UNUSED const struct audio_format *audio_format, const struct config_param *param) { struct pulse_data *pd; -- cgit v1.2.3