summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2016-08-31 17:59:37 +0200
committerMerryMage <MerryMage@users.noreply.github.com>2016-08-31 17:59:37 +0200
commitdc3f6a34f8e3458982f3ad646a54bbeac4b918e2 (patch)
tree547ec290bfa04497c63f10603d801e473a0b1f84 /src/core
parentaudio_core: Add EnableStretching to interface so that one can toggle stretching on and off (diff)
downloadyuzu-dc3f6a34f8e3458982f3ad646a54bbeac4b918e2.tar
yuzu-dc3f6a34f8e3458982f3ad646a54bbeac4b918e2.tar.gz
yuzu-dc3f6a34f8e3458982f3ad646a54bbeac4b918e2.tar.bz2
yuzu-dc3f6a34f8e3458982f3ad646a54bbeac4b918e2.tar.lz
yuzu-dc3f6a34f8e3458982f3ad646a54bbeac4b918e2.tar.xz
yuzu-dc3f6a34f8e3458982f3ad646a54bbeac4b918e2.tar.zst
yuzu-dc3f6a34f8e3458982f3ad646a54bbeac4b918e2.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/settings.cpp1
-rw-r--r--src/core/settings.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/settings.cpp b/src/core/settings.cpp
index 77261eafe..1b6733a79 100644
--- a/src/core/settings.cpp
+++ b/src/core/settings.cpp
@@ -24,6 +24,7 @@ void Apply() {
VideoCore::g_scaled_resolution_enabled = values.use_scaled_resolution;
AudioCore::SelectSink(values.sink_id);
+ AudioCore::EnableStretching(values.enable_audio_stretching);
}
diff --git a/src/core/settings.h b/src/core/settings.h
index f95e62390..0962a4ecf 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -81,6 +81,7 @@ struct Values {
// Audio
std::string sink_id;
+ bool enable_audio_stretching;
// Debugging
bool use_gdbstub;