diff options
author | Tim Phipps <mpd@phipps-hutton.freeserve.co.uk> | 2010-05-08 00:19:44 -0700 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2010-05-08 00:19:44 -0700 |
commit | 0ac5b6e613777bab093d1dbca1f3d6c80c48ca52 (patch) | |
tree | 167dbcd9c66cb60baf6ea61b0d501fdca4c71e98 /src/decoder_control.c | |
parent | eb5208c4f9e642c45b305f338c224cb65075840b (diff) | |
download | mpd-0ac5b6e613777bab093d1dbca1f3d6c80c48ca52.tar.gz mpd-0ac5b6e613777bab093d1dbca1f3d6c80c48ca52.tar.xz mpd-0ac5b6e613777bab093d1dbca1f3d6c80c48ca52.zip |
mixramp: Adjust MixRamp threshold to account for ReplayGain.
Diffstat (limited to '')
-rw-r--r-- | src/decoder_control.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/decoder_control.c b/src/decoder_control.c index 7388d307f..9a1d9abfb 100644 --- a/src/decoder_control.c +++ b/src/decoder_control.c @@ -38,6 +38,8 @@ dc_init(struct decoder_control *dc) dc->state = DECODE_STATE_STOP; dc->command = DECODE_COMMAND_NONE; + dc->replay_gain_db = 0; + dc->replay_gain_prev_db = 0; dc->mixramp_start = NULL; dc->mixramp_end = NULL; dc->mixramp_prev_end = NULL; |