Repository navigation
feat(player): keep TrueHD Atmos heights through Aether's APAC rendering - #454
Merged
Merged
Conversation
Adds a device-local "TrueHD Atmos" playback setting (default on). When on, Aether renders a TrueHD Atmos track's objects into a 7.1.4 bed and delivers Apple Positional Audio: Apple TV sends it to an Atmos receiver or soundbar as Dolby MAT, and iPhone, iPad and Mac play it as Spatial Audio. Apple TV only uses it when its output reports Dolby Atmos, so setups without Atmos keep the lossless 7.1 bridge. Pins AetherEngine to the TrueHD Atmos rendering change and records the new SiloObjectAudio decoder (Apache-2.0) in the third-party notices and bundled licenses. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (13)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Quick104
added a commit
that referenced
this pull request
Sep 25, 2026
Brings in #454 and #456 (TrueHD Atmos rendering and the AetherEngine pin), which touch PlayerViewModel.swift. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Sep 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Apple devices cannot bitstream TrueHD, so Silo decodes TrueHD Atmos as lossless 7.1 PCM. Every height channel and moving object is lost: an Atmos receiver or soundbar never shows Atmos, and AirPods get flat 7.1.
Solution
AetherEngine (Silo-Server/AetherEngine#6) now decodes the TrueHD Atmos object presentation with the new SiloObjectAudio decoder. It renders the objects into a 7.1.4 bed and delivers Apple Positional Audio (APAC). Apple TV sends that to the receiver as Dolby MAT; iPhone, iPad and Mac play it as head-tracked Spatial Audio. This PR turns it on from the app:
LoadOptions.objectAudioRendering = .apac(.l714)throughAetherObjectAudioPolicy.AVAudioSession.renderingModereports Dolby Atmos (or reports nothing). An output reporting stereo, multichannel PCM or Dolby Digital keeps the lossless 7.1 bridge, since there the heights would only be folded back into channels.THIRD_PARTY_NOTICES.md, the bundled acknowledgements and a newSiloObjectAudio-Apache-2.0.txtrecord the decoder and the Apache-2.0truehdcrate it embeds.docs/tvos-player/07-…section 3.3 and the Atmos claim rules cover the new path.Aether applies it only to TrueHD that FFmpeg marks as Atmos, at 48 kHz, on OS 26 and later. Everything else plays exactly as before.
Validation
AetherPlaybackBoundaryTestspass on the tvOS simulator (59 tests, 2 skipped), including new tests for the policy and the Apple TV output-mode mapping. The CI scripts (ci-scripts.yml) pass locally.CODECS="avc1.640029,apac.31.03"stream and seeks forward and back.Risks
renderingModereading.dolbyAtmosfor Atmos receivers. The Sonos result above was confirmed with an earlier build, before the gate existed.Follow-up
AI disclosure: written with Claude Opus 5.5 (
claude-opus-5-5) in Claude Code. A Claude Opus 5.5 subagent built the SiloObjectAudio decoder, and a Claude Opus 5.5 reviewer subagent reviewed the change. No other AI tooling was used.🤖 Generated with Claude Code
Summary by CodeRabbit