Qt: Add volume reset button
This commit is contained in:
@@ -4821,10 +4821,10 @@ void FullscreenUI::DrawAudioSettingsPage()
|
||||
|
||||
DrawIntRangeSetting(bsi, FSUI_CSTR("Output Volume"),
|
||||
FSUI_CSTR("Controls the volume of the audio played on the host."), "Audio", "OutputVolume", 100,
|
||||
0, 100, "%d%%");
|
||||
0, 200, "%d%%");
|
||||
DrawIntRangeSetting(bsi, FSUI_CSTR("Fast Forward Volume"),
|
||||
FSUI_CSTR("Controls the volume of the audio played on the host when fast forwarding."), "Audio",
|
||||
"FastForwardVolume", 100, 0, 100, "%d%%");
|
||||
"FastForwardVolume", 200, 0, 100, "%d%%");
|
||||
DrawToggleSetting(bsi, FSUI_CSTR("Mute All Sound"),
|
||||
FSUI_CSTR("Prevents the emulator from producing any audible sound."), "Audio", "OutputMuted",
|
||||
false);
|
||||
|
||||
@@ -518,7 +518,7 @@ DEFINE_HOTKEY("AudioVolumeUp", TRANSLATE_NOOP("Hotkeys", "Audio"), TRANSLATE_NOO
|
||||
{
|
||||
g_settings.audio_output_muted = false;
|
||||
|
||||
const s32 volume = std::min<s32>(System::GetAudioOutputVolume() + 10, 100);
|
||||
const s32 volume = std::min<s32>(System::GetAudioOutputVolume() + 10, 200);
|
||||
g_settings.audio_output_volume = volume;
|
||||
g_settings.audio_fast_forward_volume = volume;
|
||||
SPU::GetOutputStream()->SetOutputVolume(volume);
|
||||
|
||||
Reference in New Issue
Block a user