Something went wrong. Try again.
Play and record audio on Windows from Zig through WASAPI and COM, without linking a C library.
Something went wrong. Try again.
Map the E_NOTFOUND that audio returns to DeviceNotFound
The bindings' only E_NOTFOUND is HTML Help's, 0x8000100D. What GetDefaultAudioEndpoint returns on a machine with no endpoint is the Core Audio headers' E_NOTFOUND, HRESULT_FROM_WIN32(ERROR_NOT_FOUND) = 0x80070490, which fell through to Unexpected. On the GitHub runner, which has no sound card, that failed Session's open test and the loopback test instead of letting them skip. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0119dmEfJjSXvuzxGZc5S4Zy
Author
jcollie.dev Co-author Claude Opus 5.5 (1M context) Date (Sep 29, 2026, 2:55 AM UTC) Commit
Copy SHA
Parent 39957fe1 39957fe12477f37e186d7784a5a117de84e2e58b