test: accept all valid Windows MMDevice endpoint ID formats in audio test #25
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!25
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/25/head"
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?
@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 UTCSummary
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.github-bot referenced this pull request2026-11-26 05:05:54 +00:00
@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.