diff options
author | t895 <clombardo169@gmail.com> | 2024-01-31 14:23:10 +0100 |
---|---|---|
committer | t895 <clombardo169@gmail.com> | 2024-01-31 15:31:19 +0100 |
commit | e8be665f1132503330137ecef352a2392f7f935c (patch) | |
tree | 87d30a0cd88f6330b69de7c2de1fda6427860bd5 /src/common/settings.h | |
parent | Merge pull request #12856 from liamwhite/serialization (diff) | |
download | yuzu-e8be665f1132503330137ecef352a2392f7f935c.tar yuzu-e8be665f1132503330137ecef352a2392f7f935c.tar.gz yuzu-e8be665f1132503330137ecef352a2392f7f935c.tar.bz2 yuzu-e8be665f1132503330137ecef352a2392f7f935c.tar.lz yuzu-e8be665f1132503330137ecef352a2392f7f935c.tar.xz yuzu-e8be665f1132503330137ecef352a2392f7f935c.tar.zst yuzu-e8be665f1132503330137ecef352a2392f7f935c.zip |
Diffstat (limited to 'src/common/settings.h')
-rw-r--r-- | src/common/settings.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 16749ab68..f1b1add56 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -134,12 +134,12 @@ struct Values { Linkage linkage{}; // Audio - Setting<AudioEngine> sink_id{linkage, AudioEngine::Auto, "output_engine", Category::Audio, - Specialization::RuntimeList}; - Setting<std::string> audio_output_device_id{linkage, "auto", "output_device", Category::Audio, - Specialization::RuntimeList}; - Setting<std::string> audio_input_device_id{linkage, "auto", "input_device", Category::Audio, - Specialization::RuntimeList}; + SwitchableSetting<AudioEngine> sink_id{linkage, AudioEngine::Auto, "output_engine", + Category::Audio, Specialization::RuntimeList}; + SwitchableSetting<std::string> audio_output_device_id{ + linkage, "auto", "output_device", Category::Audio, Specialization::RuntimeList}; + SwitchableSetting<std::string> audio_input_device_id{ + linkage, "auto", "input_device", Category::Audio, Specialization::RuntimeList}; SwitchableSetting<AudioMode, true> sound_index{ linkage, AudioMode::Stereo, AudioMode::Mono, AudioMode::Surround, "sound_index", Category::SystemAudio, Specialization::Default, true, |