From 0ac5b6e613777bab093d1dbca1f3d6c80c48ca52 Mon Sep 17 00:00:00 2001 From: Tim Phipps Date: Sat, 8 May 2010 00:19:44 -0700 Subject: mixramp: Adjust MixRamp threshold to account for ReplayGain. --- src/decoder_thread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/decoder_thread.c') diff --git a/src/decoder_thread.c b/src/decoder_thread.c index 3eab61295..a75f09d37 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -438,6 +438,8 @@ decoder_task(gpointer arg) dc_mixramp_start(dc, NULL); dc_mixramp_prev_end(dc, dc->mixramp_end); dc->mixramp_end = NULL; /* Don't free, it's copied above. */ + dc->replay_gain_prev_db = dc->replay_gain_db; + dc->replay_gain_db = 0; /* fall through */ -- cgit v1.2.3