https://bugs.winehq.org/show_bug.cgi?id=53264
Bug ID: 53264 Summary: mmdevapi:capture - test_audioclient() fails systematically on Windows 10 1909+ Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: mmdevapi Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
mmdevapi:capture - test_audioclient() fails systematically on Windows 10 1909+:
capture.c:534: Test failed: SetEventHandle returns 80070002 capture.c:135: Test failed: Start on a stopped stream returns 88890014 capture.c:137: Test failed: Waiting on event handle failed! capture.c:155: Wait'ed position -1 pad 0 flags abadcafe, amount of frames locked: 0 capture.c:187: Test failed: GetNextPacketSize 0 vs. GCP 0 capture.c:190: Test failed: Valid IAudioCaptureClient_GetBuffer returns 08890001 capture.c:219: Sleep.1 position -1 pad 0 flags abadcafe, amount of frames locked: 0 capture.c:259: Test failed: GetNextPacketSize 0 vs. GetDevicePeriod 448 capture.c:264: GetBufferSize 21996 period size 448 capture.c:272: Test failed: Valid IAudioCaptureClient_GetBuffer returns 08890001 capture.c:274: Overrun position -1 pad 0 flags abadcafe, amount of frames locked: 0 capture.c:299: Test failed: Valid IAudioCaptureClient_GetBuffer returns 08890001 capture.c:301: Cont'ed position -1 pad 0 flags abadcafe, amount of frames locked: 0 capture.c:314: Test failed: Stop on a started stream returns 00000001 capture.c:317: Test failed: Start on a stopped stream returns 88890014 capture.c:320: Test failed: Valid IAudioCaptureClient_GetBuffer returns 08890001 capture.c:325: Restart position 0 pad 0 flags abadcafe, amount of frames locked: 0 capture.c:327: Test failed: restarted GCP 0 capture.c:339: Test failed: Stop on a started stream returns 00000001 capture.c:354: Reset position -1 pad 0 flags abadcafe, amount of frames locked: 0 capture.c:361: Test failed: Start on a stopped stream returns 88890014 capture.c:369: Test failed: Valid IAudioCaptureClient_GetBuffer returns 08890001
https://test.winehq.org/data/patterns.html#mmdevapi:capture
80070002 == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) 88890014 == AUDCLNT_E_EXCLUSIVE_MODE_NOT_ALLOWED AUDCLNT_ERR
It looks like the first failure is the cause for all the others.
https://bugs.winehq.org/show_bug.cgi?id=53264
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=53264
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |23de0bff1defe1d073c672bd2f4 | |b7ca25da2ae15
--- Comment #1 from François Gouget fgouget@codeweavers.com --- This is fixed:
commit 23de0bff1defe1d073c672bd2f4b7ca25da2ae15 Author: Hans Leidekker hans@codeweavers.com AuthorDate: Fri Oct 13 10:19:48 2023 +0200
mmdevapi/tests: Don't initialize the audio client twice.
It leaves the client in a bad state, causing test failures on recent Windows versions.
https://bugs.winehq.org/show_bug.cgi?id=53264
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.19.