summaryrefslogtreecommitdiffstats
path: root/src/audio_core/audio_core.cpp
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2016-08-31 17:56:30 +0200
committerMerryMage <MerryMage@users.noreply.github.com>2016-08-31 17:56:30 +0200
commit904a31969469a5ecff7eacfddc8541ea5996dcdf (patch)
tree369e91b89e1f4b2aef805b9f85c734d377ce631e /src/audio_core/audio_core.cpp
parentsink: Change EnqueueSamples to take a pointer to a buffer instead of a std::vector (diff)
downloadyuzu-904a31969469a5ecff7eacfddc8541ea5996dcdf.tar
yuzu-904a31969469a5ecff7eacfddc8541ea5996dcdf.tar.gz
yuzu-904a31969469a5ecff7eacfddc8541ea5996dcdf.tar.bz2
yuzu-904a31969469a5ecff7eacfddc8541ea5996dcdf.tar.lz
yuzu-904a31969469a5ecff7eacfddc8541ea5996dcdf.tar.xz
yuzu-904a31969469a5ecff7eacfddc8541ea5996dcdf.tar.zst
yuzu-904a31969469a5ecff7eacfddc8541ea5996dcdf.zip
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();