test: accept all valid Windows MMDevice endpoint ID formats in audio test #25

Manually merged
github merged 1 commit from gh-pr/25/head into gh-pr/25/base 2026-11-26 04:04:56 +00:00
Owner

@⁠Lum7nt on GitHub · 2026-11-21 22:45 UTC · original
Lum7nt:fix/audio-endpoint-test-format → main · +4 −1 · 1 files · 1 commits · merged 2026-11-21 22:53 UTC

Summary

The unit test default_audio_endpoint_is_windows_default previously 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.

**@⁠Lum7nt** on GitHub · 2026-11-21 22:45 UTC · [original](https://github.com/xcl-dev/xcl/pull/25) `Lum7nt:fix/audio-endpoint-test-format` → `main` · +4 −1 · 1 files · 1 commits · merged 2026-11-21 22:53 UTC ### Summary The unit test `default_audio_endpoint_is_windows_default` previously 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:04:54 +00:00
github manually merged commit e7ca2cd5b6 into gh-pr/25/base 2026-11-26 04:04:56 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-21 22:53 UTC · original

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.

**@⁠ivall** on GitHub · 2026-11-21 22:53 UTC · [original](https://github.com/xcl-dev/xcl/pull/25#issuecomment-7070497003) 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.
This discussion has been locked. Commenting is limited to contributors.
No description provided.