mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 23:07:55 -05:00
audio_core: Add EnableStretching to interface so that one can toggle stretching on and off
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user