DecoderControl: add MixRamp getters
This commit is contained in:
parent
067572c6dd
commit
59ad6265a1
@ -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()
|
|||||||
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() -
|
||||||
|
Loading…
Reference in New Issue
Block a user