2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

settings: Make volume runtime-configurable

This commit is contained in:
lat9nq 2023-05-18 16:30:39 -07:00
parent 217fa04080
commit 3281ea935f

View file

@ -550,7 +550,7 @@ struct Values {
Setting<std::string> audio_output_device_id{linkage, "auto", "output_device", Category::Audio}; Setting<std::string> audio_output_device_id{linkage, "auto", "output_device", Category::Audio};
Setting<std::string> audio_input_device_id{linkage, "auto", "input_device", Category::Audio}; Setting<std::string> audio_input_device_id{linkage, "auto", "input_device", Category::Audio};
Setting<bool, false> audio_muted{linkage, false, "audio_muted", Category::Audio, false}; Setting<bool, false> audio_muted{linkage, false, "audio_muted", Category::Audio, false};
SwitchableSetting<u8, true> volume{linkage, 100, 0, 200, "volume", Category::Audio}; SwitchableSetting<u8, true> volume{linkage, 100, 0, 200, "volume", Category::Audio, true, true};
Setting<bool, false> dump_audio_commands{linkage, false, "dump_audio_commands", Category::Audio, Setting<bool, false> dump_audio_commands{linkage, false, "dump_audio_commands", Category::Audio,
false}; false};