diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-08-31 17:59:37 +0200 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-08-31 17:59:37 +0200 |
commit | dc3f6a34f8e3458982f3ad646a54bbeac4b918e2 (patch) | |
tree | 547ec290bfa04497c63f10603d801e473a0b1f84 /src/citra | |
parent | audio_core: Add EnableStretching to interface so that one can toggle stretching on and off (diff) | |
download | yuzu-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/citra')
-rw-r--r-- | src/citra/config.cpp | 1 | ||||
-rw-r--r-- | src/citra/default_ini.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp index e832ec58d..f48386b9c 100644 --- a/src/citra/config.cpp +++ b/src/citra/config.cpp @@ -78,6 +78,7 @@ void Config::ReadValues() { // Audio Settings::values.sink_id = sdl2_config->Get("Audio", "output_engine", "auto"); + Settings::values.enable_audio_stretching = sdl2_config->GetBoolean("Audio", "enable_audio_stretching", true); // Data Storage Settings::values.use_virtual_sd = sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true); diff --git a/src/citra/default_ini.h b/src/citra/default_ini.h index 6249ef9e2..5b8ca12a0 100644 --- a/src/citra/default_ini.h +++ b/src/citra/default_ini.h @@ -66,6 +66,12 @@ bg_green = # auto (default): Auto-select, null: No audio output, sdl2: SDL2 (if available) output_engine = +# Whether or not to enable the audio-stretching post-processing effect. +# This effect adjusts audio speed to match emulation speed and helps prevent audio stutter, +# at the cost of increasing audio latency. +# 0: No, 1 (default): Yes +enable_audio_stretching = + [Data Storage] # Whether to create a virtual SD card. # 1 (default): Yes, 0: No |