Audio: Add volume for alternate speed.

Fixes #11605.
This commit is contained in:
Unknown W. Brackets committed 2019-06-23 13:34:08 -07:00
1 parent 3a98a5dc42
commit e4e0cdd0f7
4 files changed
+18 -3

No files matched your search

+6
View File
@@ -485,6 +485,12 @@ void GameSettingsScreen::CreateViews() {
PopupSliderChoice *volume = audioSettings->Add(new PopupSliderChoice(&g_Config.iGlobalVolume, VOLUME_OFF, VOLUME_MAX, a->T("Global volume"), screenManager()));
volume->SetEnabledPtr(&g_Config.bEnableSound);
volume->SetZeroLabel(a->T("Mute"));
PopupSliderChoice *altVolume = audioSettings->Add(new PopupSliderChoice(&g_Config.iAltSpeedVolume, VOLUME_OFF, VOLUME_MAX, a->T("Alternate speed volume"), screenManager()));
altVolume->SetEnabledPtr(&g_Config.bEnableSound);
altVolume->SetZeroLabel(a->T("Mute"));
altVolume->SetNegativeDisable(a->T("Use global volume"));
#ifdef _WIN32
if (IsVistaOrHigher()) {