Skip to content

chore(deps): pin AetherEngine with upstream 7.40.1 and drop the TrueHD Atmos setting - #837

Merged
Quick104 merged 1 commit into
mainfrom
chore/aetherengine-7.40.1
Oct 19, 2026
Merged

Quick104 merged 1 commit into
mainfrom
chore/aetherengine-7.40.1

Conversation

@Quick104

@Quick104 Quick104 commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: Silo-Server/AetherEngine#23
Validation tasks: none found

Upstream AetherEngine 7.39.0 stopped building TrueHD Atmos and DTS:X object rendering by default. That path decoded the Atmos objects (or DTS:X heights) with LibTrueHD or LibDTSX and delivered them as Apple Positional Audio. It is now behind package traits that are off by default, because those components may need third-party patent licenses. The app pins a fork without that change, so it still links both decoders and offers a "TrueHD Atmos" setting for that path.

This moves the app to the fork's merge of upstream 7.40.1 and removes the setting. TrueHD Atmos plays its lossless 7.1 channel presentation, as it already did with the setting off. DTS:X plays as DTS-HD MA 7.1.

Approach

  • Pins AetherEngine to 898946d7 (chore: merge upstream AetherEngine 7.40.1 into the Silo fork AetherEngine#23). Package resolution drops LibTrueHD and LibDTSX. XcodeGen cannot set package traits, so the app builds with upstream's defaults.
  • Removes the "TrueHD Atmos" toggle and its footer sentence from Playback settings on iPhone, iPad, Mac and Apple TV. Also removes AetherObjectAudioPolicy, the objectAudioRendering plumbing and the [CMP-ATMOS] log line. The setting was device-local; a stored value is now ignored.
  • The diagnostics bridge stops promoting [SpatialAudioBridge] and APAC lines, which the engine no longer writes. It keeps the TrueHD, master-audio and audio-route lines.
  • Removes LibTrueHD and LibDTSX from THIRD_PARTY_NOTICES.md, the bundled license texts and Settings > About > Acknowledgements, and records the new AetherEngine revision.
  • Refreshes the reviewed build-input fingerprint and selector seal for the new project.yml. The release source proof's locked package graph goes from 12 packages to 10.
  • Marks the TrueHD Atmos object path as removed in the tvOS player docs.

Upstream also gated Dolby Vision Profile 5 / 10.0 still reshaping behind a trait. Without it, the engine returns no scrub stills for those sources, and the scrub preview falls back to the server's preview images where they exist. This was not tested on a Profile 5 title.

Validation

  • iOS, tvOS (with its test bundle) and macOS build on this branch.
  • iOS 27.0 simulator: in the full SiloTests run, every suite this change touches passes, including AetherPlaybackBoundaryTests, MediaLogRedactorTests, LegalNoticesTests and the settings suites. ArtworkURLTests and ImageSizeCapabilityTests failed three tests on a simulator signed in to a live server; the same 36 tests pass on a fresh signed-out simulator.
  • CI script suites pass locally. The packaging test needs Python 3.12 or later, as on CI.
  • A TrueHD Atmos 7.1.4 title plays on the iOS simulator: TrueHD decoded at 48 kHz with 8 channels, audio and video running.
  • Not run: TrueHD Atmos or DTS:X on Apple TV hardware with a receiver, and a Dolby Vision Profile 5 scrub.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-apple/aether-apac-removal/

Surface and build: Settings > Playback before (main, 0609e5b) and after (39731ee) on iPad Pro 11-inch (iOS 27.0), iPhone Duo folded (iOS 27.1) and Apple TV 4K (tvOS 27.0) simulators, with the same account and settings; the iPhone 17 Pro pair compares a build installed before this change with this branch. Acknowledgements: the page shows every license as one long scroll, so the evidence lists the entries at each commit instead of a screenshot (three removed). Not captured: the iPhone Duo open pose (the simulator tooling can't unfold it) and the Mac (the build Mac's installed Silo app was in use and shares the builds' data); both use the same settings form.

Risks

  • Viewers with an Atmos system lose height channels on TrueHD Atmos and DTS:X tracks; they get lossless 7.1 instead. E-AC-3 Atmos tracks are unaffected and still reach the receiver as Atmos.
  • Dolby Vision Profile 5 / 10.0 scrub previews depend on server preview images.
  • The pin points at the fork PR's merge commit. If chore: merge upstream AetherEngine 7.40.1 into the Silo fork AetherEngine#23 is squash-merged, re-pin to the commit it lands as.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code, running in T3 Code
  • Tool(s): Claude Code
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, not yet human verified
  • Adversarial review: none

🤖 Generated with Claude Code

…D Atmos setting

Upstream AetherEngine 7.39.0 moved TrueHD Atmos and DTS:X object
rendering (the APAC path, with LibTrueHD and LibDTSX) behind package
traits that are off by default, because those components may need
third-party patent licenses. XcodeGen cannot set package traits, so a
7.39+ pin builds without them: objectAudioRendering keeps the channel
bridge and the two decoders are no longer resolved or linked.

- Pin the Silo fork's merge of upstream 7.40.1 (898946d7).
- Remove the "TrueHD Atmos" Playback setting on iPhone, iPad, Mac and
  Apple TV, its footer sentence, AetherObjectAudioPolicy and the
  [CMP-ATMOS] line. TrueHD Atmos plays its 7.1 channel presentation
  through the lossless channel bridge, as it did with the setting off.
- Drop the SpatialAudioBridge and APAC essential-tier rules from the
  diagnostics bridge; keep the TrueHD, master audio and route lines.
- Remove LibTrueHD and LibDTSX from the notices, the bundled license
  texts and the acknowledgements, and update the AetherEngine revision.
- Mark the TrueHD Atmos object path as removed in the tvOS player docs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-triage silo-triage Bot added the size/XL 500–999 added + deleted lines (all files); change volume, not priority. label Oct 19, 2026
@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 26 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 756d0ae4-3e75-4b4f-8d29-6bfa170ed1ca
📥 Commits

Reviewing files that changed from the base of the PR and between 0609e5b and 39731ee.

⛔ Files ignored due to path filters: 1
  • iosApp/Silo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved is excluded by !**/Package.resolved
📒 Files selected for processing: 23
  • THIRD_PARTY_NOTICES.md
  • docs/tvos-player/07-profile7-dv-truehd-loopback-spec.md
  • docs/tvos-player/aetherengine-replacement-spec.md
  • iosApp/Resources/OpenSourceLicenses/LibDTSX-Apache-2.0.txt
  • iosApp/Resources/OpenSourceLicenses/LibTrueHD-MIT.txt
  • iosApp/Resources/OpenSourceLicenses/README.txt
  • iosApp/Resources/OpenSourceLicenses/truehd-Apache-2.0.txt
  • iosApp/Tests/AetherPlaybackBoundaryTests.swift
  • iosApp/Tests/MediaLogRedactorTests.swift
  • iosApp/iosApp/Screens/Player/AetherLoadSpec.swift
  • iosApp/iosApp/Screens/Player/AetherPlaybackController.swift
  • iosApp/iosApp/Screens/Player/PlayerSettings.swift
  • iosApp/iosApp/Screens/Player/PlayerViewModel.swift
  • iosApp/iosApp/Screens/Settings/OpenSourceAcknowledgementsView.swift
  • iosApp/iosApp/Screens/Settings/PlaybackSettingsView.swift
  • iosApp/iosApp/Screens/Settings/SettingsViewModel.swift
  • iosApp/iosApp/Shared/Diagnostics/Logging/AetherDiagnosticsBridge.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVPlaybackSettingsView.swift
  • iosApp/project.yml
  • scripts/ci/apple-test-selector-contract.json
  • scripts/ci/release-source-proof.py
  • scripts/ci/release-source-proof.test.py
  • scripts/ci/select-apple-platforms.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@silo-kody

silo-kody Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@silo-triage silo-triage Bot added dependencies Pull requests that update a dependency file evidence-required Needs before-and-after evidence before the Evidence check passes priority: P2 Limited scope, workaround exists, or polish labels Oct 19, 2026
@silo-triage

silo-triage Bot commented Oct 19, 2026

Copy link
Copy Markdown

Please add before-and-after captures of the Playback settings change on Apple TV, Mac, iPad, and iPhone Duo (folded and open), or explain why a device is unaffected. The PR removes the setting on these devices; sharing a form does not make them unaffected under the repository’s Evidence policy. Also include a before-and-after comparison of Settings > About > Acknowledgements, since its visible entries change.

@Quick104

Copy link
Copy Markdown
Contributor Author

Added before-and-after captures of Settings > Playback on iPad Pro 11-inch, iPhone Duo (folded) and Apple TV 4K to the evidence page, alongside the iPhone pair, all from main and this branch with the same account and settings. Settings > About > Acknowledgements shows every bundled license in one long scroll, and the three removed blocks sit far below what the simulator automation could reach, so the page lists the entries at each commit instead.

Two captures are still missing, with the reason in the PR body: the iPhone Duo open pose, which the simulator tooling can't unfold, and the Mac, where the installed Silo app was in use and shares the builds' data. Both show the same settings form as the captured devices.

@Quick104
Quick104 merged commit 1dd9a99 into main Oct 19, 2026
10 checks passed
@Quick104
Quick104 deleted the chore/aetherengine-7.40.1 branch October 19, 2026 01:05
Quick104 added a commit that referenced this pull request Oct 19, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file evidence-required Needs before-and-after evidence before the Evidence check passes priority: P2 Limited scope, workaround exists, or polish size/XL 500–999 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant