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:
@@ -75,8 +75,7 @@ static void audioOutputAo_error(const char *msg)
|
||||
}
|
||||
|
||||
static void *
|
||||
audioOutputAo_initDriver(G_GNUC_UNUSED struct audio_output *ao,
|
||||
G_GNUC_UNUSED const struct audio_format *audio_format,
|
||||
audioOutputAo_initDriver(G_GNUC_UNUSED const struct audio_format *audio_format,
|
||||
const struct config_param *param)
|
||||
{
|
||||
ao_info *ai;
|
||||
|
||||
Reference in New Issue
Block a user