diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/replay_gain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/replay_gain.c b/src/replay_gain.c index 4ddb7abb8..e1c7db9fe 100644 --- a/src/replay_gain.c +++ b/src/replay_gain.c @@ -44,7 +44,7 @@ void replay_gain_global_init(void) { const struct config_param *param = config_get_param(CONF_REPLAYGAIN); - if (param == NULL) { + if (param == NULL || strcmp(param->value, "off") == 0) { replay_gain_mode = REPLAY_GAIN_OFF; } else if (strcmp(param->value, "track") == 0) { replay_gain_mode = REPLAY_GAIN_TRACK; |