summaryrefslogtreecommitdiffstats
path: root/src/audio_core/hle/dsp.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-09-01 04:19:38 +0200
committerGitHub <noreply@github.com>2016-09-01 04:19:38 +0200
commit549d0c171563423f024de754a82ab033d31294d1 (patch)
tree547ec290bfa04497c63f10603d801e473a0b1f84 /src/audio_core/hle/dsp.h
parentMerge pull request #2034 from JayFoxRox/avoid-glsl-error (diff)
parentconfigure_audio: User-configuratble option to enable/disable audio stretching (diff)
downloadyuzu-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.h8
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