diff options
author | bunnei <bunneidev@gmail.com> | 2016-09-01 04:19:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-01 04:19:38 +0200 |
commit | 549d0c171563423f024de754a82ab033d31294d1 (patch) | |
tree | 547ec290bfa04497c63f10603d801e473a0b1f84 /src/audio_core/hle/dsp.h | |
parent | Merge pull request #2034 from JayFoxRox/avoid-glsl-error (diff) | |
parent | configure_audio: User-configuratble option to enable/disable audio stretching (diff) | |
download | yuzu-549d0c171563423f024de754a82ab033d31294d1.tar yuzu-549d0c171563423f024de754a82ab033d31294d1.tar.gz yuzu-549d0c171563423f024de754a82ab033d31294d1.tar.bz2 yuzu-549d0c171563423f024de754a82ab033d31294d1.tar.lz yuzu-549d0c171563423f024de754a82ab033d31294d1.tar.xz yuzu-549d0c171563423f024de754a82ab033d31294d1.tar.zst yuzu-549d0c171563423f024de754a82ab033d31294d1.zip |
Diffstat (limited to 'src/audio_core/hle/dsp.h')
-rw-r--r-- | src/audio_core/hle/dsp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/audio_core/hle/dsp.h b/src/audio_core/hle/dsp.h index 9275cd7de..565f20b6f 100644 --- a/src/audio_core/hle/dsp.h +++ b/src/audio_core/hle/dsp.h @@ -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 |