Commit aba65017 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

mmdevapi/tests: Increase timeout in capture tests.

parent 90f428cd
...@@ -87,7 +87,7 @@ static void test_capture(IAudioClient *ac, HANDLE handle, WAVEFORMATEX *wfx) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment