Austin English : mmdevapi/tests: Increase timeout in capture tests.

Alexandre Julliard julliard at winehq.org
Tue Nov 23 09:38:23 CST 2010


Module: wine
Branch: master
Commit: aba65017d79221735cea1866bddb43e2a6375ade
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=aba65017d79221735cea1866bddb43e2a6375ade

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Nov 22 22:23:44 2010 -0800

mmdevapi/tests: Increase timeout in capture tests.

---

 dlls/mmdevapi/tests/capture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mmdevapi/tests/capture.c b/dlls/mmdevapi/tests/capture.c
index a1d36e6..ed497df 100644
--- a/dlls/mmdevapi/tests/capture.c
+++ b/dlls/mmdevapi/tests/capture.c
@@ -87,7 +87,7 @@ static void test_capture(IAudioClient *ac, HANDLE handle, WAVEFORMATEX *wfx)
     hr = IAudioCaptureClient_GetNextPacketSize(acc, NULL);
     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.. */
     hr = IAudioCaptureClient_GetNextPacketSize(acc, &frames);




More information about the wine-cvs mailing list