UI: Use "MessageNudge" sound for alert

This commit is contained in:
Nodir Temirkhodjaev 2024-10-08 16:29:21 +05:00
parent 753a6bc399
commit 408f1003e3

View File

@ -131,9 +131,9 @@ bool OsUtil::beep(BeepType type)
bool OsUtil::playSound(SoundType /*type*/) bool OsUtil::playSound(SoundType /*type*/)
{ {
constexpr DWORD flags = SND_ALIAS_ID | SND_ASYNC | SND_SENTRY; constexpr DWORD flags = SND_ASYNC | SND_SENTRY;
return PlaySoundW(LPCWSTR(SND_ALIAS_SYSTEMDEFAULT), nullptr, flags); return PlaySoundA("MessageNudge", nullptr, flags);
} }
void OsUtil::showConsole(bool visible) void OsUtil::showConsole(bool visible)