Skip to content

Commit

Permalink
Use "default" system sound for terminal bell/beep.
Browse files Browse the repository at this point in the history
As opposed to the "Critical" system sound. Fixes microsoft#6568.
  • Loading branch information
sirocyl authored Jun 18, 2020
1 parent 10bc1a6 commit 0ef8be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interactivity/win32/windowproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ using namespace Microsoft::Console::Types;

// Don't fall back to Beep() on win32 systems -- if the user configures their system for no sound, we should
// respect that.
PlaySoundW((LPCWSTR)SND_ALIAS_SYSTEMHAND, nullptr, SND_ALIAS_ID | SND_ASYNC | SND_SENTRY);
PlaySoundW((LPCWSTR)SND_ALIAS_SYSTEMDEFAULT, nullptr, SND_ALIAS_ID | SND_ASYNC | SND_SENTRY);
break;
}

Expand Down

0 comments on commit 0ef8be6

Please sign in to comment.