diff options
author | fearlessTobi <thm.frey@gmail.com> | 2018-08-23 14:33:03 +0200 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2018-09-08 19:26:23 +0200 |
commit | a6efff8b02986daf6d3660c4f33c5f39cf3f3830 (patch) | |
tree | af15627fd0a02ae74b222e1d02e689185062f1a9 /src/yuzu_cmd | |
parent | Merge pull request #1246 from degasus/instanced_rendering (diff) | |
download | yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar.gz yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar.bz2 yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar.lz yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar.xz yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar.zst yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.zip |
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r-- | src/yuzu_cmd/config.cpp | 2 | ||||
-rw-r--r-- | src/yuzu_cmd/default_ini.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index f00b5a66b..991abda2e 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp @@ -108,6 +108,8 @@ 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); Settings::values.audio_device_id = sdl2_config->Get("Audio", "output_device", "auto"); Settings::values.volume = sdl2_config->GetReal("Audio", "volume", 1); diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index 6ed9e7962..002a4ec15 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h @@ -150,6 +150,12 @@ swap_screen = # auto (default): Auto-select, null: No audio output, cubeb: Cubeb audio engine (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 = + # Which audio device to use. # auto (default): Auto-select output_device = |