Preamp for missing replay-gain

This commit is contained in:
Daniel Seuthe
2009-06-19 09:02:12 +02:00
committed by Max Kellermann
parent f16d05c633
commit 4ffd9bce5a
4 changed files with 41 additions and 11 deletions

View File

@@ -301,8 +301,7 @@ decoder_data(struct decoder *decoder,
/* apply replay gain or normalization */
if (replay_gain_info != NULL &&
replay_gain_mode != REPLAY_GAIN_OFF)
if (replay_gain_mode != REPLAY_GAIN_OFF)
replay_gain_apply(replay_gain_info, dest, nbytes,
&dc.out_audio_format);
else if (normalizationEnabled)