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/normalize.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/normalize.c') diff --git a/src/normalize.c b/src/normalize.c index da655a648..60da15e75 100644 --- a/src/normalize.c +++ b/src/normalize.c @@ -27,9 +27,8 @@ int normalizationEnabled; void initNormalization(void) { - normalizationEnabled = getBoolConfigParam(CONF_VOLUME_NORMALIZATION, 1); - if (normalizationEnabled == CONF_BOOL_UNSET) - normalizationEnabled = DEFAULT_VOLUME_NORMALIZATION; + normalizationEnabled = config_get_bool(CONF_VOLUME_NORMALIZATION, + DEFAULT_VOLUME_NORMALIZATION); if (normalizationEnabled) CompressCfg(0, ANTICLIP, TARGET, GAINMAX, GAINSMOOTH, BUCKETS); -- cgit v1.2.3