From a1a97cc048a443eb71944848592b9827991600fd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 17 Jan 2009 20:23:33 +0100 Subject: conf: use config_get_bool() instead of getBoolConfigParam() --- src/decoder/mp3_plugin.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/decoder') diff --git a/src/decoder/mp3_plugin.c b/src/decoder/mp3_plugin.c index fd0ac21a9..fda866133 100644 --- a/src/decoder/mp3_plugin.c +++ b/src/decoder/mp3_plugin.c @@ -93,10 +93,8 @@ mad_fixed_to_24_buffer(int32_t *dest, const struct mad_synth *synth, static bool mp3_plugin_init(void) { - int ret = getBoolConfigParam(CONF_GAPLESS_MP3_PLAYBACK, true); - gapless_playback = ret != CONF_BOOL_UNSET - ? !!ret - : DEFAULT_GAPLESS_MP3_PLAYBACK; + gapless_playback = config_get_bool(CONF_GAPLESS_MP3_PLAYBACK, + DEFAULT_GAPLESS_MP3_PLAYBACK); return true; } -- cgit v1.2.3