Commit 23de0bff authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

mmdevapi/tests: Don't initialize the audio client twice.

It leaves the client in a bad state, causing test failures on recent Windows versions.
parent b35f0007
......@@ -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);
......
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