decoder_plugin: pass struct config_param to init() method

Preparing for per-plugin configuration sections in mpd.conf.
This commit is contained in:
Max Kellermann
2009-02-15 18:34:14 +01:00
parent 900784bb4e
commit dec5d48f80
9 changed files with 18 additions and 10 deletions

View File

@@ -91,7 +91,8 @@ mad_fixed_to_24_buffer(int32_t *dest, const struct mad_synth *synth,
}
}
static bool mp3_plugin_init(void)
static bool
mp3_plugin_init(G_GNUC_UNUSED const struct config_param *param)
{
gapless_playback = config_get_bool(CONF_GAPLESS_MP3_PLAYBACK,
DEFAULT_GAPLESS_MP3_PLAYBACK);