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:
@@ -30,8 +30,7 @@ struct null_data {
|
||||
};
|
||||
|
||||
static void *
|
||||
null_init(G_GNUC_UNUSED struct audio_output *audio_output,
|
||||
G_GNUC_UNUSED const struct audio_format *audio_format,
|
||||
null_init(G_GNUC_UNUSED const struct audio_format *audio_format,
|
||||
G_GNUC_UNUSED const struct config_param *param)
|
||||
{
|
||||
struct null_data *nd = g_new(struct null_data, 1);
|
||||
|
||||
Reference in New Issue
Block a user