mirror of
https://github.com/tnodir/fort
synced 2024-11-14 22:36:08 +00:00
UI: Use "MessageNudge" sound for alert
This commit is contained in:
parent
753a6bc399
commit
408f1003e3
@ -131,9 +131,9 @@ bool OsUtil::beep(BeepType 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)
|
||||
|
Loading…
Reference in New Issue
Block a user