Repository navigation
feat: turn on the object-audio traits by default in the Silo fork - #24
Conversation
Silo builds the app with XcodeGen, which cannot set package traits, so the fork enables TrueHDObjectAudio and DTSXObjectAudio by default. That compiles the 7.40.0 TrueHD Atmos bed split and the DTS:X standard presentation behind objectAudioRendering and links LibTrueHD and LibDTSX again. DualLayerDolbyVision and DolbyVisionStillReshaping stay off, and upstream keeps every trait off. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
…Engine 7.40's heights path (#840) * feat(player): bring back the TrueHD Atmos setting on AetherEngine 7.40's heights path #837 removed the "TrueHD Atmos" Playback setting when upstream AetherEngine 7.39 put TrueHD Atmos and DTS:X rendering behind package traits that are off by default. Upstream 7.40 rebuilt that path: TrueHD Atmos heights come from the stream's own 7.1 mix, split by where the objects' energy lies, with no object mixing or matrix interpolation, and DTS:X keeps its standard four heights one to one. Silo-Server/AetherEngine#24 turns the two traits on by default in the fork, since XcodeGen cannot set them. - Pin the fork at 185be1f5. LibTrueHD 3.0.0 and LibDTSX 3.0.0 resolve again; DTSX.framework is embedded as a dynamic framework. - Bring back the device-local toggle, now "TrueHD Atmos and DTS:X", on iPhone, iPad, Mac and Apple TV, with the same stored key, so a device that had it off stays off. It maps to objectAudioRendering = .apac(.l714) when Apple TV's output reports Atmos, as before. - Restore the [CMP-ATMOS] line and the SpatialAudioBridge / APAC diagnostics rules, and promote DTS:X route lines too. - Notices and bundled texts for LibTrueHD 3.0.0 and LibDTSX 3.0.0 (LGPL-3.0-or-later for the built framework). - CI: build-input fingerprint and selector seal for the new project.yml; the release source proof's package graph is 12 packages again. - Describe the 7.40 heights path in the tvOS player docs. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(player): let the TrueHD Atmos setting alone choose the heights path Apple TV read AVAudioSession.renderingMode before each load and kept lossless 7.1 when it reported stereo, surround or Dolby Audio. That mode resolves for the content already playing, so after a stereo stream, a track switch or the next episode it turned heights off on Atmos receivers, and once 7.1 played every later load stayed off. The setting now decides on every device, as in upstream's Sodalite and AetherPlayer. The mode stays in the [CMP-ATMOS] line. Both footers say the trade-off applies with the setting on, and Apple TV's adds that a receiver or soundbar without Dolby Atmos is better with it off. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…st activation own the channel preference (superuser404notfound#872 follow-up) superuser404notfound#872 moved the category declaration from init to every load and rewrote it whenever the session no longer matched. A host that switches the mode after the first load (Sodalite's music playback sets .playback/.default and activates) then had it flipped back to .moviePlayback on an active session at every track. The declaration now runs once: concurrent loads share it, a success is never repeated, a failure is retried, and a session the host already put on .playback keeps its mode and policy. rendererAudioSessionActivationEnabled = false now also covers route changes: ownsChannelPreference no longer writes the channel preference for a host that owns activation. The init-time diagnostic line (category, maxChannels, output) moves to the declaration so Silo-Server#24-style downmix reports still carry it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WJcXkGQrMiBPixVEFTSBJS
Summary
Turns on the
TrueHDObjectAudioandDTSXObjectAudiotraits by default in the Silo fork. Silo's app is an XcodeGen project, and XcodeGen cannot set package traits, so this is how the app gets upstream 7.40's TrueHD Atmos and DTS:X heights path behindobjectAudioRendering. Silo-Server/silo-apple uses it to bring back the Playback setting for those heights.What changed
Package.swift:.default(enabledTraits: ["TrueHDObjectAudio", "DTSXObjectAudio"]), with a comment that this is a fork-only default. Upstream keeps every trait off.DualLayerDolbyVisionandDolbyVisionStillReshapingstay off.CHANGELOG.md: an Unreleased entry.Upstream's licensing note applies: these components may be subject to third-party patent licensing, and an integrator that enables them is responsible for its own licensing. The note dates from 7.39, which gated the old object renderer. 7.40 replaced that method; upstream's author reports the new design was checked against the patent claims at issue and drops the old renderer's problem elements, with no formal legal opinion behind it. Upstream's Sodalite enables both traits by default on its 1.1 release branch.
Test plan
swift buildpasses with the new defaults, and the trait-gated decoders link LibTrueHD and LibDTSX.swift testmain group: 785 XCTest (1 skipped) and 4,749 Swift Testing tests pass (68 more than with the traits off: the object-audio suites).Evidence: https://evidence.siloserver.org/r/aetherengine/default-object-audio-traits/
Checklist
CHANGELOG.mdupdatedAI disclosure
claude-opus-5-5🤖 Generated with Claude Code
Note
Enable
TrueHDObjectAudioandDTSXObjectAudiopackage traits by default in the Silo forkTrueHDObjectAudioandDTSXObjectAudio, soLibTrueHDandLibDTSXresolve and link againDualLayerDolbyVisionandDolbyVisionStillReshapingremain disabledMacroscope summarized 185be1f.