https://bugs.winehq.org/show_bug.cgi?id=54523
Bug ID: 54523 Summary: mmdevapi:mmdevenum - test_ActivateAudioInterfaceAsync() fails on Windows when no speaker is connected 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:mmdevenum - test_ActivateAudioInterfaceAsync() fails on Windows when no speaker is connected:
mmdevenum.c:294: Test failed: mmdevice activation gave wrong result: 80070490
See https://test.winehq.org/data/patterns.html#mmdevapi:mmdevenum
Where 0x80070490 == E_PROP_ID_UNSUPPORTED
Specifically this happens on w11pro64_amd and w11pro64_nv. Those only have the graphics card's HDMI output for their sound output but unfortunately the 'screen' they are connected to (HDMI / DisplayPort dongles) does not 'have' speakers. As a result Windows detects no speaker and 'disables' the corresponding sound card.
So mmdevenum should check for this condition and either skip this test or accept this error code in that case.