Andrew Eikum : winecfg: Play test sound asynchronously.
Alexandre Julliard
julliard at winehq.org
Tue Nov 1 13:23:25 CDT 2011
Module: wine
Branch: master
Commit: b6169510d21f50ed3aab28ed87ba6cd26e924fc2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6169510d21f50ed3aab28ed87ba6cd26e924fc2
Author: Andrew Eikum <aeikum at codeweavers.com>
Date: Tue Nov 1 10:18:13 2011 -0500
winecfg: Play test sound asynchronously.
---
programs/winecfg/audio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winecfg/audio.c b/programs/winecfg/audio.c
index f2d4fe3..944abcb 100644
--- a/programs/winecfg/audio.c
+++ b/programs/winecfg/audio.c
@@ -305,7 +305,7 @@ static void set_reg_device(HWND hDlg, int dlgitem, const WCHAR *key_name)
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];
LoadStringW(GetModuleHandle(NULL), IDS_AUDIO_TEST_FAILED,
More information about the wine-cvs
mailing list