DecoderControl: add MixRamp getters

This commit is contained in:
Max Kellermann 2013-10-26 14:08:09 +02:00
parent 067572c6dd
commit 59ad6265a1
2 changed files with 14 additions and 2 deletions

View File

@ -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);

View File

@ -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() -