dsound: Fix a failing test for broken drivers.
This commit is contained in:
parent
11e31e580c
commit
f4cbdc96de
|
@ -631,7 +631,7 @@ static BOOL WINAPI dscenum_callback(LPGUID lpGuid, LPCSTR lpcstrDescription,
|
||||||
bufdesc1.lpwfxFormat=&wfx;
|
bufdesc1.lpwfxFormat=&wfx;
|
||||||
rc=IDirectSoundCapture_CreateCaptureBuffer(dsco,
|
rc=IDirectSoundCapture_CreateCaptureBuffer(dsco,
|
||||||
(DSCBUFFERDESC*)&bufdesc1,&dscbo,NULL);
|
(DSCBUFFERDESC*)&bufdesc1,&dscbo,NULL);
|
||||||
ok(rc==DS_OK,
|
ok(rc==DS_OK || broken(rc==E_INVALIDARG),
|
||||||
"IDirectSoundCapture_CreateCaptureBuffer() failed to create a "
|
"IDirectSoundCapture_CreateCaptureBuffer() failed to create a "
|
||||||
"%s capture buffer: %s\n",format_string(&wfx),
|
"%s capture buffer: %s\n",format_string(&wfx),
|
||||||
DXGetErrorString8(rc));
|
DXGetErrorString8(rc));
|
||||||
|
|
Loading…
Reference in New Issue