Add the ability to duck volume when the game is inactive

This commit is contained in:
Dean Herbert
2018-01-31 18:11:38 +09:00
parent 340412e470
commit 335f0d577c
3 changed files with 24 additions and 1 deletions

View File

@ -39,6 +39,8 @@ namespace osu.Game.Configuration
};
// Audio
Set(OsuSetting.VolumeInactive, 0.25, 0, 1, 0.01);
Set(OsuSetting.MenuVoice, true);
Set(OsuSetting.MenuMusic, true);
@ -101,6 +103,7 @@ namespace osu.Game.Configuration
MouseDisableButtons,
MouseDisableWheel,
AudioOffset,
VolumeInactive,
MenuMusic,
MenuVoice,
CursorRotation,