Skip to content

Add Windows miniaudio backend support#23

Merged
iancharest merged 1 commit into
mainfrom
codex/windows-miniaudio-support
Jun 19, 2026
Merged

Add Windows miniaudio backend support#23
iancharest merged 1 commit into
mainfrom
codex/windows-miniaudio-support

Conversation

@iancharest

Copy link
Copy Markdown
Contributor

Summary

  • Add Windows native backend support through vendored miniaudio using WASAPI.
  • Share the miniaudio stream implementation across Linux and Windows through a small native lock/sleep portability layer.
  • Add UTF-8/WASAPI device ID conversion so Windows device enumeration IDs can be reused for explicit stream selection.
  • Link the Windows extension against the required system libraries.
  • Add Windows test and wheel CI jobs, plus README/changelog/classifier updates.

Validation

  • PYTHONPATH=src python -m unittest discover -s tests
  • python -m compileall -q src tests examples
  • python -m pip install . was attempted on Windows but blocked by missing local Microsoft C++ Build Tools: Microsoft Visual C++ 14.0 or greater is required.

Notes

This follows the previous Linux development path by reusing vendored miniaudio rather than adding another platform-specific audio dependency.

@iancharest iancharest marked this pull request as ready for review June 19, 2026 18:45
@iancharest iancharest merged commit d3c2cd3 into main Jun 19, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants