aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mp3_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-15 18:34:14 +0100
committerMax Kellermann <max@duempel.org>2009-02-15 18:34:14 +0100
commitdec5d48f80428575c7a1b9eeba961b0055156500 (patch)
tree2b13402d6e5bbf72a0ae658b546454a83538dc93 /src/decoder/mp3_plugin.c
parent900784bb4ebd6613223164e222f19abd3a312a93 (diff)
downloadmpd-dec5d48f80428575c7a1b9eeba961b0055156500.tar.gz
mpd-dec5d48f80428575c7a1b9eeba961b0055156500.tar.xz
mpd-dec5d48f80428575c7a1b9eeba961b0055156500.zip
decoder_plugin: pass struct config_param to init() method
Preparing for per-plugin configuration sections in mpd.conf.
Diffstat (limited to 'src/decoder/mp3_plugin.c')
-rw-r--r--src/decoder/mp3_plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder/mp3_plugin.c b/src/decoder/mp3_plugin.c
index fda866133..9956435c9 100644
--- a/src/decoder/mp3_plugin.c
+++ b/src/decoder/mp3_plugin.c
@@ -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);