set SoundSentry flag

This commit is contained in:
henrypp committed 2020-01-11 10:25:44 +06:00
1 parent d524529a56
commit b2e8a587ca
1 file changed
+2 -2
+2 -2
View File
@@ -358,8 +358,8 @@ void _app_notifyplaysound ()
result = true;
}
if (!result || !_r_fs_exists (notify_snd_path) || !PlaySound (notify_snd_path, nullptr, SND_FILENAME | SND_ASYNC))
PlaySound (NOTIFY_SOUND_NAME, nullptr, SND_ASYNC);
if (!result || !_r_fs_exists (notify_snd_path) || !PlaySound (notify_snd_path, nullptr, SND_ASYNC | SND_NODEFAULT | SND_FILENAME | SND_SENTRY))
PlaySound (NOTIFY_SOUND_NAME, nullptr, SND_ASYNC | SND_NODEFAULT | SND_SENTRY);
}
void _app_notifyrefresh (HWND hwnd, bool is_safety)