diff --git a/src/DecoderControl.hxx b/src/DecoderControl.hxx index bc2e7d786..47fb81c9a 100644 --- a/src/DecoderControl.hxx +++ b/src/DecoderControl.hxx @@ -350,6 +350,18 @@ public: void Quit(); + const char *GetMixRampStart() const { + return mixramp_start; + } + + const char *GetMixRampEnd() const { + return mixramp_end; + } + + const char *GetMixRampPreviousEnd() const { + return mixramp_prev_end; + } + void MixRampStart(char *_mixramp_start); void MixRampEnd(char *_mixramp_end); void MixRampPrevEnd(char *_mixramp_prev_end); diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx index 35f697c45..0a624da47 100644 --- a/src/PlayerThread.cxx +++ b/src/PlayerThread.cxx @@ -1011,8 +1011,8 @@ Player::Run() pc.mixramp_delay_seconds, dc.replay_gain_db, dc.replay_gain_prev_db, - dc.mixramp_start, - dc.mixramp_prev_end, + dc.GetMixRampStart(), + dc.GetMixRampPreviousEnd(), dc.out_audio_format, play_audio_format, buffer.GetSize() -