Use config SoundVolume for retroachievement sound effects
Probably want this to be a separate setting later on, but this is probably better than forced 100% volume
This commit is contained in:
parent
fafb1ab3e3
commit
08e3246ec9
|
@ -4739,7 +4739,12 @@ namespace BizHawk.Client.EmuHawk
|
|||
InputManager,
|
||||
Tools,
|
||||
() => Config,
|
||||
wavFile => Sound.PlayWavFile(wavFile, 1), // TODO: Make this configurable
|
||||
wavFile =>
|
||||
{
|
||||
// TODO: Probably want to have wav volume a different setting?
|
||||
var atten = Config.SoundEnabledNormal ? Config.SoundVolume / 100.0f : 0.0f;
|
||||
Sound.PlayWavFile(wavFile, atten);
|
||||
},
|
||||
RetroAchievementsMenuItem.DropDownItems,
|
||||
() =>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue