Commit Graph
1 Commits
Author SHA1 Message Date
sourabhxyzandClaude Opus 5.5 13edd56a44 Prefer a known device ID over the stripped-label match
Resolve the microphone by exact label, then by a device ID that names a
real capture device, and only then by the label without Chromium's
transport suffix, so the name heuristic cannot override a precise
identifier.

Move the matching into a pure function and replace the source-text
assertions with a test that compiles it with swiftc and checks the
results against a fixed device list, following the lifecycle test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 12:16:56 +05:30