Jeff Zaroyko : dsound/tests: Fix a failing capture test on win2k.
Alexandre Julliard
julliard at winehq.org
Thu Oct 23 08:38:09 CDT 2008
Module: wine
Branch: master
Commit: 29e49bbe8eaf401b3a80f6949047faaccf78bd1e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=29e49bbe8eaf401b3a80f6949047faaccf78bd1e
Author: Jeff Zaroyko <jeffz at jeffz.name>
Date: Thu Oct 23 16:51:09 2008 +1100
dsound/tests: Fix a failing capture test on win2k.
---
dlls/dsound/tests/capture.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/dsound/tests/capture.c b/dlls/dsound/tests/capture.c
index 787d670..b2a377a 100644
--- a/dlls/dsound/tests/capture.c
+++ b/dlls/dsound/tests/capture.c
@@ -567,8 +567,9 @@ static BOOL WINAPI dscenum_callback(LPGUID lpGuid, LPCSTR lpcstrDescription,
if (winetest_interactive)
trace(" Testing the capture buffer at %s\n", format_string(&wfx));
rc=IDirectSoundCapture_CreateCaptureBuffer(dsco,&bufdesc,&dscbo,NULL);
- ok(((rc==DS_OK)&&(dscbo!=NULL))||(rc==DSERR_BADFORMAT)||
- ((rc==DSERR_NODRIVER))||(rc==DSERR_ALLOCATED)||(rc==E_INVALIDARG)||(rc==E_FAIL),
+ ok(((rc==DS_OK)&&(dscbo!=NULL))
+ || rc==DSERR_BADFORMAT || rc==DSERR_INVALIDCALL || rc==DSERR_NODRIVER
+ || rc==DSERR_ALLOCATED || rc==E_INVALIDARG || rc==E_FAIL,
"IDirectSoundCapture_CreateCaptureBuffer() failed to create a "
"%s capture buffer: %08x\n",format_string(&wfx),rc);
if (rc==DS_OK) {
More information about the wine-cvs
mailing list