dsound capture test patch
Robert Reif
reif at earthlink.net
Sat Jan 8 07:42:30 CST 2005
Don't need to worry about windows messages.
-------------- next part --------------
Index: dlls/dsound/tests/capture.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/tests/capture.c,v
retrieving revision 1.13
diff -u -r1.13 capture.c
--- dlls/dsound/tests/capture.c 25 Oct 2004 21:45:51 -0000 1.13
+++ dlls/dsound/tests/capture.c 8 Jan 2005 13:38:53 -0000
@@ -274,10 +274,9 @@
/* wait for the notifications */
for (i = 0; i < (NOTIFICATIONS * 2); i++) {
- rc=MsgWaitForMultipleObjects(NOTIFICATIONS,state.event,FALSE,
- 3000,QS_ALLEVENTS);
+ rc=WaitForMultipleObjects(NOTIFICATIONS,state.event,FALSE,3000);
ok(rc==(WAIT_OBJECT_0+(i%NOTIFICATIONS)),
- "MsgWaitForMultipleObjects failed: 0x%lx\n",rc);
+ "WaitForMultipleObjects failed: 0x%lx\n",rc);
if (rc!=(WAIT_OBJECT_0+(i%NOTIFICATIONS))) {
ok((rc==WAIT_TIMEOUT)||(rc==WAIT_FAILED),
"Wrong notification: should be %d, got %ld\n",
More information about the wine-patches
mailing list