audio_core: Add EnableStretching to interface so that one can toggle stretching on and off

This commit is contained in:
MerryMage 2016-08-31 16:56:30 +01:00
parent 0ef4185644
commit 904a319694
4 changed files with 52 additions and 9 deletions

View file

@ -544,5 +544,13 @@ bool Tick();
*/
void SetSink(std::unique_ptr<AudioCore::Sink> sink);
/**
* Enables/Disables audio-stretching.
* Audio stretching is an enhancement that stretches audio to match emulation
* speed to prevent stuttering at the cost of some audio latency.
* @param enable true to enable, false to disable.
*/
void EnableStretching(bool enable);
} // namespace HLE
} // namespace DSP