mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
dsound/tests: Fix a failing capture test on win2k.
This commit is contained in:
parent
b9084bc99f
commit
29e49bbe8e
1 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue