aboutsummaryrefslogtreecommitdiffstats
path: root/src/normalize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normalize.c')
-rw-r--r--src/normalize.c5
1 files changed, 2 insertions, 3 deletions
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);