dsound: Fix a failing test for broken drivers.

This commit is contained in:
James Hawkins 2008-07-01 23:19:38 -05:00 committed by Alexandre Julliard
parent 11e31e580c
commit f4cbdc96de
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@ static BOOL WINAPI dscenum_callback(LPGUID lpGuid, LPCSTR lpcstrDescription,
bufdesc1.lpwfxFormat=&wfx;
rc=IDirectSoundCapture_CreateCaptureBuffer(dsco,
(DSCBUFFERDESC*)&bufdesc1,&dscbo,NULL);
ok(rc==DS_OK,
ok(rc==DS_OK || broken(rc==E_INVALIDARG),
"IDirectSoundCapture_CreateCaptureBuffer() failed to create a "
"%s capture buffer: %s\n",format_string(&wfx),
DXGetErrorString8(rc));