summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-31 05:57:53 +0200
committerbunnei <bunneidev@gmail.com>2018-08-01 04:38:42 +0200
commitca84b530a376e826c1a90d7c7e402d4a3bce00b7 (patch)
tree3febdf01f6402c88f0372d2c2644601108734031 /src/yuzu_cmd
parentMerge pull request #876 from lioncash/include (diff)
downloadyuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar.gz
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar.bz2
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar.lz
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar.xz
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar.zst
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/config.cpp5
-rw-r--r--src/yuzu_cmd/default_ini.h12
2 files changed, 10 insertions, 7 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index cea1a5e62..c581e9699 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -105,6 +105,11 @@ void Config::ReadValues() {
Settings::values.bg_green = (float)sdl2_config->GetReal("Renderer", "bg_green", 0.0);
Settings::values.bg_blue = (float)sdl2_config->GetReal("Renderer", "bg_blue", 0.0);
+ // Audio
+ Settings::values.sink_id = sdl2_config->Get("Audio", "output_engine", "auto");
+ Settings::values.audio_device_id = sdl2_config->Get("Audio", "output_device", "auto");
+ Settings::values.volume = sdl2_config->GetReal("Audio", "volume", 1);
+
// Data Storage
Settings::values.use_virtual_sd =
sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true);
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h
index 567f23417..6553c7814 100644
--- a/src/yuzu_cmd/default_ini.h
+++ b/src/yuzu_cmd/default_ini.h
@@ -143,19 +143,17 @@ swap_screen =
[Audio]
# Which audio output engine to use.
-# auto (default): Auto-select, null: No audio output, sdl2: SDL2 (if available)
+# 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 =
+# Output volume.
+# 1.0 (default): 100%, 0.0; mute
+volume =
+
[Data Storage]
# Whether to create a virtual SD card.
# 1 (default): Yes, 0: No