diff options
Diffstat (limited to 'src/normalize.c')
-rw-r--r-- | src/normalize.c | 5 |
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); |