aboutsummaryrefslogtreecommitdiffstats
path: root/src/normalize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normalize.c')
-rw-r--r--src/normalize.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/normalize.c b/src/normalize.c
index 504656c1d..ee21fc919 100644
--- a/src/normalize.c
+++ b/src/normalize.c
@@ -28,11 +28,9 @@ int normalizationEnabled;
void initNormalization(void)
{
- normalizationEnabled = getBoolConfigParam(CONF_VOLUME_NORMALIZATION);
- if (normalizationEnabled == -1)
+ normalizationEnabled = getBoolConfigParam(CONF_VOLUME_NORMALIZATION, 1);
+ if (normalizationEnabled == CONF_BOOL_UNSET)
normalizationEnabled = DEFAULT_VOLUME_NORMALIZATION;
- else if (normalizationEnabled < 0)
- exit(EXIT_FAILURE);
if (normalizationEnabled)
CompressCfg(0, ANTICLIP, TARGET, GAINMAX, GAINSMOOTH, BUCKETS);