aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderThread.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/DecoderThread.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/DecoderThread.cxx b/src/DecoderThread.cxx
index 7de6bf0d3..a018b3502 100644
--- a/src/DecoderThread.cxx
+++ b/src/DecoderThread.cxx
@@ -412,9 +412,7 @@ decoder_task(void *arg)
switch (dc.command) {
case DecoderCommand::START:
- dc.MixRampStart(nullptr);
- dc.MixRampPrevEnd(dc.mixramp_end);
- dc.mixramp_end = nullptr; /* Don't free, it's copied above. */
+ dc.CycleMixRamp();
dc.replay_gain_prev_db = dc.replay_gain_db;
dc.replay_gain_db = 0;