aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/audio_core.cpp
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2016-08-31 16:56:30 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2016-08-31 16:56:30 +0100
commit904a31969469a5ecff7eacfddc8541ea5996dcdf (patch)
tree369e91b89e1f4b2aef805b9f85c734d377ce631e /src/audio_core/audio_core.cpp
parent0ef4185644def3e7d99d88af3c8dd27d40660c82 (diff)
audio_core: Add EnableStretching to interface so that one can toggle stretching on and off
Diffstat (limited to 'src/audio_core/audio_core.cpp')
-rw-r--r--src/audio_core/audio_core.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio_core/audio_core.cpp b/src/audio_core/audio_core.cpp
index d42249ebd..8e19ec0c4 100644
--- a/src/audio_core/audio_core.cpp
+++ b/src/audio_core/audio_core.cpp
@@ -71,6 +71,10 @@ void SelectSink(std::string sink_id) {
DSP::HLE::SetSink(iter->factory());
}
+void EnableStretching(bool enable) {
+ DSP::HLE::EnableStretching(enable);
+}
+
void Shutdown() {
CoreTiming::UnscheduleEvent(tick_event, 0);
DSP::HLE::Shutdown();