aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
authorDaniel Seuthe <daniel@timmy.seuthe.homelinux.net>2009-06-19 09:02:12 +0200
committerMax Kellermann <max@duempel.org>2009-06-25 08:36:35 +0200
commit4ffd9bce5a9a12a03ecaecac7c0861e5f692d9e3 (patch)
treec3493e46ac13cb6f7c9a7dfee038ce2f52659c96 /src/decoder_api.c
parentf16d05c633971794e49635d5e16ee0ce864032a6 (diff)
downloadmpd-4ffd9bce5a9a12a03ecaecac7c0861e5f692d9e3.tar.gz
mpd-4ffd9bce5a9a12a03ecaecac7c0861e5f692d9e3.tar.xz
mpd-4ffd9bce5a9a12a03ecaecac7c0861e5f692d9e3.zip
Preamp for missing replay-gain
Diffstat (limited to '')
-rw-r--r--src/decoder_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index 2ece3bb98..408e8005e 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -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)