mmdevapi/tests: Increase timeout in capture tests.

This commit is contained in:
Austin English 2010-11-22 22:23:44 -08:00 committed by Alexandre Julliard
parent 90f428cd85
commit aba65017d7
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ static void test_capture(IAudioClient *ac, HANDLE handle, WAVEFORMATEX *wfx)
hr = IAudioCaptureClient_GetNextPacketSize(acc, NULL); hr = IAudioCaptureClient_GetNextPacketSize(acc, NULL);
ok(hr == E_POINTER, "IAudioCaptureClient_GetNextPacketSize(NULL) returns %08x\n", hr); ok(hr == E_POINTER, "IAudioCaptureClient_GetNextPacketSize(NULL) returns %08x\n", hr);
ok(WaitForSingleObject(handle, 1000) == WAIT_OBJECT_0, "Waiting on event handle failed!\n"); ok(WaitForSingleObject(handle, 2000) == WAIT_OBJECT_0, "Waiting on event handle failed!\n");
/* frames can be 0 if no data is available yet.. */ /* frames can be 0 if no data is available yet.. */
hr = IAudioCaptureClient_GetNextPacketSize(acc, &frames); hr = IAudioCaptureClient_GetNextPacketSize(acc, &frames);