https://bugs.winehq.org/show_bug.cgi?id=55573
Bug ID: 55573 Summary: mmdevapi:spatialaudio - test_audio_object_buffers() sometimes fails on macOS Product: Wine Version: unspecified Hardware: x86-64 OS: Mac OS X Status: NEW Severity: normal Priority: P2 Component: mmdevapi Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
mmdevapi:spatialaudio - test_audio_object_buffers() sometimes fails on macOS. There are two groups of errors that can happen independently but seem to have the same cause:
spatialaudio.c:348: Test failed: Failed to begin updating audio objects: 0x88890006 spatialaudio.c:361: Test failed: Expected to be able to get buffers for audio object: 0x88890101, i 0 spatialaudio.c:361: Test failed: Expected to be able to get buffers for audio object: 0x88890101, i 1 spatialaudio.c:361: Test failed: Expected to be able to get buffers for audio object: 0x88890101, i 2 spatialaudio.c:361: Test failed: Expected to be able to get buffers for audio object: 0x88890101, i 3 spatialaudio.c:383: Test failed: Failed to end updating audio objects: 0x88890101 (which may be repeated a second time)
spatialaudio.c:419: Test failed: Failed to begin updating audio objects: 0x88890006 spatialaudio.c:424: Test marked todo: Expected audio object to be invalidated: 0x88890101 spatialaudio.c:429: Test failed: Expected to be able to get buffers for audio object: 0x88890101 spatialaudio.c:432: Test marked todo: Failed to end the stream: 0x80004001 spatialaudio.c:435: Test marked todo: Expected audio object to be invalidated: 0x88890101 spatialaudio.c:429: Test failed: Expected to be able to get buffers for audio object: 0x88890101 spatialaudio.c:432: Test marked todo: Failed to end the stream: 0x80004001 spatialaudio.c:435: Test marked todo: Expected audio object to be invalidated: 0x88890101 spatialaudio.c:429: Test failed: Expected to be able to get buffers for audio object: 0x88890101
See https://test.winehq.org/data/patterns.html#mmdevapi:spatialaudio
Where 0x88890006 == AUDCLNT_E_BUFFER_TOO_LARGE 0x88890101 == SPTLAUDCLNT_E_OUT_OF_ORDER
These failures happen in about 33% of the WineTest runs and only on macOS (see Remi's rbernon-macos-* cloud test machines).