test: accept all valid Windows MMDevice endpoint ID formats in audio test #24
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/25"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by Lum7nt on 2026-11-21T22:45:33Z.
Summary
The unit test
default_audio_endpoint_is_windows_defaultpreviously asserted that render endpoint IDs start strictly with{0.0.0..On Windows systems with Bluetooth audio devices, USB headsets, or virtual sound endpoints, Windows MMDevice IDs can have prefixes like
{3.0.0.00000002}.{GUID}, causing the test to fail despite returning a valid endpoint ID.This PR updates the assertion to verify that a well-formed MMDevice ID (
{...}.{...}) is returned, allowing all 151 unit tests to pass cleanly on all Windows configurations.Imported from ivall/xcl. Originally posted by ivall on 2026-11-21T22:53:21Z.
Reviewed and merged, thanks – the endpoint id check now accepts any MMDevice id. Checked together with #21, #22 and #25 on top of current main: full workspace tests pass (277 lib tests, e2e, console_dlls_e2e, gpu_pso_e2e, rpf_e2e), no new build warnings.