diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-01 06:04:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-01 06:04:26 +0200 |
commit | d2ad279a32751756c6c7bcb9354136f52dea0795 (patch) | |
tree | 973766c8d6fdd43835f160d5844e286b5aabdc0b /src/yuzu_cmd/config.cpp | |
parent | Merge pull request #877 from lioncash/remove (diff) | |
parent | audio_core: Add configuration settings. (diff) | |
download | yuzu-d2ad279a32751756c6c7bcb9354136f52dea0795.tar yuzu-d2ad279a32751756c6c7bcb9354136f52dea0795.tar.gz yuzu-d2ad279a32751756c6c7bcb9354136f52dea0795.tar.bz2 yuzu-d2ad279a32751756c6c7bcb9354136f52dea0795.tar.lz yuzu-d2ad279a32751756c6c7bcb9354136f52dea0795.tar.xz yuzu-d2ad279a32751756c6c7bcb9354136f52dea0795.tar.zst yuzu-d2ad279a32751756c6c7bcb9354136f52dea0795.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu_cmd/config.cpp | 5 |
1 files changed, 5 insertions, 0 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); |