diff options
author | Max Kellermann <max@duempel.org> | 2013-10-26 14:12:10 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-26 14:12:10 +0200 |
commit | 2098b94b47a60f6265dd5afb61757e9f6b7f9a6e (patch) | |
tree | b038337e4d72840e70d7cfab044cbd405e7fbcae /src/DecoderThread.cxx | |
parent | 59ad6265a170d8105183ac65bd6663d53124d360 (diff) | |
download | mpd-2098b94b47a60f6265dd5afb61757e9f6b7f9a6e.tar.gz mpd-2098b94b47a60f6265dd5afb61757e9f6b7f9a6e.tar.xz mpd-2098b94b47a60f6265dd5afb61757e9f6b7f9a6e.zip |
DecoderThread: move code to DecoderControl::CycleMixRamp()
Diffstat (limited to 'src/DecoderThread.cxx')
-rw-r--r-- | src/DecoderThread.cxx | 4 |
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; |