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.
This commit is contained in:
Max Kellermann
2009-02-25 18:34:02 +01:00
parent 0cf4f09e4f
commit dcd84c19cd
12 changed files with 19 additions and 34 deletions
+1 -2
View File
@@ -129,8 +129,7 @@ alsa_configure(struct alsa_data *ad, const struct config_param *param)
}
static void *
alsa_init(G_GNUC_UNUSED struct audio_output *ao,
G_GNUC_UNUSED const struct audio_format *audio_format,
alsa_init(G_GNUC_UNUSED const struct audio_format *audio_format,
const struct config_param *param)
{
/* no need for pthread_once thread-safety when reading config */