summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/config.cpp
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/citra_qt/config.cpp
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 '')
-rw-r--r--src/citra_qt/config.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp
index 93c6a6e41..ff3bfe1bd 100644
--- a/src/citra_qt/config.cpp
+++ b/src/citra_qt/config.cpp
@@ -56,6 +56,7 @@ void Config::ReadValues() {
qt_config->beginGroup("Audio");
Settings::values.sink_id = qt_config->value("output_engine", "auto").toString().toStdString();
+ Settings::values.enable_audio_stretching = qt_config->value("enable_audio_stretching", true).toBool();
qt_config->endGroup();
qt_config->beginGroup("Data Storage");
@@ -148,6 +149,7 @@ void Config::SaveValues() {
qt_config->beginGroup("Audio");
qt_config->setValue("output_engine", QString::fromStdString(Settings::values.sink_id));
+ qt_config->setValue("enable_audio_stretching", Settings::values.enable_audio_stretching);
qt_config->endGroup();
qt_config->beginGroup("Data Storage");