mixramp: Adjust MixRamp threshold to account for ReplayGain.

This commit is contained in:
Tim Phipps
2010-05-08 00:19:44 -07:00
committed by Avuton Olrich
parent eb5208c4f9
commit 0ac5b6e613
12 changed files with 48 additions and 14 deletions

View File

@@ -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 */