Skip to content

Conversation

@s0up4200
Copy link

@s0up4200 s0up4200 commented Feb 8, 2026

Apple's AudioQueue API does not reliably route to AirPlay destinations on macOS Tahoe. This is a known limitation that affects apps using low-level CoreAudio APIs directly. Apple's own afplay command handles AirPlay routing correctly.

The fix is to use afplay as the default playback backend on macOS, keeping oto available on all platforms as a fallback.

afplay requires a file (can't stream from a pipe), so the audio is fully buffered to a temp file before playback starts.

oto/v3 relies on CoreAudio's AudioQueue API which silently fails when
audio is routed to AirPlay devices on macOS Tahoe. Apple's built-in
afplay handles AirPlay correctly. This adds afplay as the default
playback backend on macOS, keeping oto for other platforms and as a
fallback via --player oto.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant