[PATCH 0/1] MR4089: mmdevapi/tests: Don't initialize the audio client twice.
From: Hans Leidekker <hans(a)codeweavers.com> It leaves the client in a bad state, causing test failures on recent Windows versions. --- dlls/mmdevapi/tests/capture.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/mmdevapi/tests/capture.c b/dlls/mmdevapi/tests/capture.c index f3b426a7f9a..660e74de3de 100644 --- a/dlls/mmdevapi/tests/capture.c +++ b/dlls/mmdevapi/tests/capture.c @@ -531,9 +531,6 @@ static void test_audioclient(void) trace("Returned latency: %u.%04u ms\n", (UINT)(t1/10000), (UINT)(t1 % 10000)); - hr = IAudioClient_Initialize(ac, AUDCLNT_SHAREMODE_SHARED, 0, 5000000, 0, pwfx, NULL); - ok(hr == AUDCLNT_E_ALREADY_INITIALIZED, "Calling Initialize twice returns %08lx\n", hr); - hr = IAudioClient_SetEventHandle(ac, NULL); ok(hr == E_INVALIDARG, "SetEventHandle(NULL) returns %08lx\n", hr); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4089
This merge request was approved by Huw Davies. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4089
participants (3)
-
Hans Leidekker -
Hans Leidekker (@hans) -
Huw Davies (@huw)