winecfg: Play test sound asynchronously.

This commit is contained in:
Andrew Eikum 2011-11-01 10:18:13 -05:00 committed by Alexandre Julliard
parent 64adeb0285
commit b6169510d2
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ static void set_reg_device(HWND hDlg, int dlgitem, const WCHAR *key_name)
static void test_sound(void) static void test_sound(void)
{ {
if(!PlaySoundW(MAKEINTRESOURCEW(IDW_TESTSOUND), NULL, SND_RESOURCE | SND_SYNC)){ if(!PlaySoundW(MAKEINTRESOURCEW(IDW_TESTSOUND), NULL, SND_RESOURCE | SND_ASYNC)){
WCHAR error_str[256], title_str[256]; WCHAR error_str[256], title_str[256];
LoadStringW(GetModuleHandle(NULL), IDS_AUDIO_TEST_FAILED, LoadStringW(GetModuleHandle(NULL), IDS_AUDIO_TEST_FAILED,