Commit 59ad6265 authored by Max Kellermann's avatar Max Kellermann

DecoderControl: add MixRamp getters

parent 067572c6
...@@ -350,6 +350,18 @@ public: ...@@ -350,6 +350,18 @@ public:
void Quit(); 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 MixRampStart(char *_mixramp_start);
void MixRampEnd(char *_mixramp_end); void MixRampEnd(char *_mixramp_end);
void MixRampPrevEnd(char *_mixramp_prev_end); void MixRampPrevEnd(char *_mixramp_prev_end);
......
...@@ -1011,8 +1011,8 @@ Player::Run() ...@@ -1011,8 +1011,8 @@ Player::Run()
pc.mixramp_delay_seconds, pc.mixramp_delay_seconds,
dc.replay_gain_db, dc.replay_gain_db,
dc.replay_gain_prev_db, dc.replay_gain_prev_db,
dc.mixramp_start, dc.GetMixRampStart(),
dc.mixramp_prev_end, dc.GetMixRampPreviousEnd(),
dc.out_audio_format, dc.out_audio_format,
play_audio_format, play_audio_format,
buffer.GetSize() - buffer.GetSize() -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment