3 Commits

Author SHA1 Message Date
pstruebi
c681e4ce39 feat: refactor audio input to use dedicated reader thread instead of per-frame executor
- Replaced per-frame `run_in_executor` calls with single background reader thread in `ThreadedAudioInput`
- Reader thread continuously calls `_read()` and enqueues data via `call_soon_threadsafe` to asyncio.Queue
- Reduces per-frame scheduling overhead and context-switch jitter while preserving async API
- Added thread lifecycle management: lazy start on first `frames()` call, graceful stop in `aclose()`
- Update
2025-11-19 18:52:37 +01:00
pstruebi
1bda74cf79 feat: add PortAudio device enumeration utility
- Created script to list all available audio input/output devices with their capabilities
- Displays host APIs, channel counts, sample rates, and device names for configuration
- Includes helpful hints for selecting appropriate capture and playback devices
2025-11-18 16:57:09 +01:00
pstruebi
06a81e2521 first commit 2025-11-17 13:33:17 +01:00