From 2098b94b47a60f6265dd5afb61757e9f6b7f9a6e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 26 Oct 2013 14:12:10 +0200 Subject: DecoderThread: move code to DecoderControl::CycleMixRamp() --- src/DecoderThread.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/DecoderThread.cxx') 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; -- cgit v1.2.3