Skip to content

docs/AUDIO.md: plan for guest audio (speaker first) - #97

Merged
dylanneve1 merged 1 commit into
mainfrom
docs/audio
Oct 22, 2026
Merged

dylanneve1 merged 1 commit into
mainfrom
docs/audio

Conversation

@dylanneve1

Copy link
Copy Markdown
Collaborator

Adds docs/AUDIO.md: how iOS 14 on the iPhone 11 plays audio (MCA I2S clusters over SIO DMA, CS42L77 codec on SPI3, CS35L27 amp on I2C2, AOP audio service), which kexts match which device-tree nodes, what Inferno already models (MCA/codec/amp models exist upstream, but the DT nodes are deleted), the Android backend choice, work items and effort.

Recommendation: an AAudio driver inside QEMU (-audiodev aaudio), not a PCM socket to AudioTrack. Since #66 the app can run QEMU in-process, so the 'everything over unix sockets' design only applies to the child-process path. AAudio works the same in both modes, keeps PCM in one process and has the lowest latency. If AAudio turns out not to open from the exec'd child, the socket + AudioTrack route is the fallback for that mode.

Effort: about 1.5–3 weeks to hear the speaker on a Pixel. Most of the uncertainty is in milestone 2 (how much of the AOP speaker path iOS needs).

Docs only. No Apple firmware or binaries in this PR.

🤖 Generated with Claude Code

Audio path on the iPhone 11 (MCA/SIO DMA, CS42L77, CS35L27, AOP audio),
what Inferno already models, the AAudio-vs-socket choice for the Android
side, work items #91-#96 and effort estimates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dylanneve1
dylanneve1 merged commit d213e63 into main Oct 22, 2026
4 checks passed
@dylanneve1
dylanneve1 deleted the docs/audio branch November 2, 2026 01:56
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