mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-12-15 06:50:00 +00:00
detect >100% audio volume
This commit is contained in:
parent
c5a4dcc143
commit
5e3e81070d
@ -123,8 +123,13 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
notes.Add("⚠ `Audio backend` is set to `null`");
|
||||
}
|
||||
|
||||
if (int.TryParse(items["audio_volume"], out var audioVolume) && audioVolume < 10)
|
||||
notes.Add($"⚠ Audio volume is set to {audioVolume}%");
|
||||
if (int.TryParse(items["audio_volume"], out var audioVolume))
|
||||
{
|
||||
if (audioVolume < 10)
|
||||
notes.Add($"⚠ Audio volume is set to {audioVolume}%");
|
||||
else if (audioVolume > 100)
|
||||
notes.Add($"⚠ Audio volume is set to {audioVolume}%; audio clipping is to be expected");
|
||||
}
|
||||
|
||||
if (items["hle_lwmutex"] is string hleLwmutex && hleLwmutex == EnabledMark)
|
||||
notes.Add("⚠ `HLE lwmutex` is enabled, might affect compatibility");
|
||||
|
Loading…
Reference in New Issue
Block a user