Skip to content

chore(deps): pin AetherEngine with upstream's exact TrueHD Atmos render - #902

Merged
Quick104 merged 3 commits into
mainfrom
chore/aetherengine-truehd-exact-render
Oct 25, 2026
Merged

Quick104 merged 3 commits into
mainfrom
chore/aetherengine-truehd-exact-render

Conversation

@Quick104

@Quick104 Quick104 commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Problem

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

TrueHD Atmos heights in Silo come from AetherEngine 7.40's bed split, which builds every output from the stream's own 7.1 mix, split by where the objects' energy lies. Upstream measured it against the exact render: heights 0.4 to 1.1 dB low, a correlation of 0.91 to 0.96, and no way to tell front heights from rear ones once the energy sits between them. Upstream AetherEngine #731 (merged on main after 7.47.0, not yet in a release) decodes the Atmos object presentation exactly again and renders the objects into the bed. The Silo fork was still on 7.40.1.

Approach

  • Pins AetherEngine to df72cc59 (chore: merge upstream AetherEngine main (def48fe8) with the TrueHD Atmos exact render into the Silo fork AetherEngine#26), the fork merged with upstream main at def48fe8. Silo's call site is unchanged: the "TrueHD Atmos and DTS:X" setting still maps to objectAudioRendering = .apac(.l714).
  • Package graph:
    • LibTrueHD moves to 3.1.0, whose binary includes the interpolating decode.
    • FFmpegBuild moves to 3.10.0, which adds a patched dca decoder that reads DTS:X heights, and the AAC and ALAC encoders.
    • LibDTSX drops out (upstream 7.44.0): DTSX.framework is no longer embedded.
  • THIRD_PARTY_NOTICES.md, the bundled overview and Settings > About > Acknowledgements:
    • name the new revisions;
    • describe FFmpegBuild 3.8.0 to 3.10.0;
    • drop LibDTSX and its license text.
  • Refreshes the build-input fingerprint and selector seal for the new project.yml. The release source proof's package graph is 11 packages.
  • Updates the tvOS player doc, the setting's doc comment and the engine log lines in MediaLogRedactorTests (TrueHD Atmos: objects rendered into …, … is not DTS:X this engine renders …). The diagnostics rules match on TrueHD / DTS:X / APAC, so they still keep these lines.

Other upstream changes in the sync:

Validation

  • AetherEngine fork on MacDev (macOS 27, Xcode 27.0):
    • df72cc59, default traits: 789 XCTest (1 skipped) and 5,034 Swift Testing tests pass;
    • ff626231: 56 of 56 authorization tests pass, and with all traits 791 XCTest (1 skipped) and 5,225 Swift Testing tests pass.
  • xcodebuild -resolvePackageDependencies on the regenerated project resolves 11 packages: AetherEngine (then ff62623), LibTrueHD 3.1.0, FFmpegBuild 3.10.0, no LibDTSX.
  • CI script suites pass locally at 87c62e7a with the resealed fingerprint and selector contract: select-apple-platforms, release-source-proof, package-release-source and validate-subtitle-packaging.
  • SiloTV Debug built and signed at bbdcf116 (clean tree) and installed on the living room Apple TV.
  • Silo (iOS) Debug built and signed at bbdcf116 and installed on the iPhone through the MacBook. Install, launch and process verified.
  • iOS 27.0 simulator at bbdcf116: MediaLogRedactorTests, LegalNoticesTests, AetherPlaybackBoundaryTests, AetherSubtitleOverlayCueArrivalTests and AppleDecodeCapabilitiesTests pass (107 tests, 0 failures). The app embeds exactly the nine FFmpegBuild frameworks and no DTSX.framework.
  • The developer played TrueHD Atmos on the living room Apple TV over HDMI at bbdcf116 and confirmed it works. An earlier transcode to AAC came from a bandwidth limit on that TV, not from the app.
  • Not run: DTS:X playback, and Atmos playback on iPhone.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-apple/pr-902/

Playback output changes; the app's screens don't. The one visible change is in Settings > About > Acknowledgements, which no longer lists "LibDTSX and dca — LGPL 3". That list is shared by every platform, and LegalNoticesTests checks that every listed acknowledgement is bundled.

Risks

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; Atmos playback verified on a device by the developer
  • Adversarial review: none

🤖 Generated with Claude Code

Upstream AetherEngine #731 decodes TrueHD Atmos exactly again and renders
its objects into the bed, replacing 7.40's bed split, which left the
heights 0.4 to 1.1 dB low and could not tell front heights from rear
ones. Silo-Server/AetherEngine#26 merges upstream main (def48fe8, after
7.47.0) into the fork.

- Pin the fork at ff626231. LibTrueHD moves to 3.1.0, FFmpegBuild to
  3.10.0, and LibDTSX drops out: DTS:X heights now come from
  FFmpegBuild's patched dca decoder.
- Notices, the bundled overview and Acknowledgements drop LibDTSX and
  name the new revisions.
- CI: build-input fingerprint and selector seal for the new project.yml;
  the release source proof's package graph is 11 packages.
- Describe the exact render in the tvOS player docs and the setting's
  doc comment, and update the engine log lines the redactor tests use.

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 24, 2026
@silo-kody

silo-kody Bot commented Oct 24, 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 ❌

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T23:56:06.853361Z 6bae5d7 New commits
🔒 Security Review ✅ Completed 2026-10-24T23:57:21.819852Z 6bae5d7 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Walkthrough

The PR updates AetherEngine, FFmpegBuild, and LibTrueHD revisions and removes LibDTSX acknowledgements. It revises TrueHD Atmos and DTS:X playback descriptions and updates CI release-source checks.

Changes: Audio dependency refresh

Layer / File(s) Summary
Dependency pins and provenance
iosApp/project.yml, THIRD_PARTY_NOTICES.md, iosApp/Resources/OpenSourceLicenses/README.txt, iosApp/Resources/OpenSourceLicenses/LibDTSX-LGPL-3.0.txt, iosApp/iosApp/Screens/Settings/OpenSourceAcknowledgementsView.swift
AetherEngine, FFmpegBuild, and LibTrueHD revisions and notices are updated. LibDTSX is removed from dependency and license acknowledgements.
Playback-path descriptions
THIRD_PARTY_NOTICES.md, docs/tvos-player/07-profile7-dv-truehd-loopback-spec.md, iosApp/iosApp/Screens/Player/PlayerSettings.swift, iosApp/Tests/MediaLogRedactorTests.swift
The TrueHD Atmos descriptions now describe object rendering into a 7.1.4 bed. The DTS:X documentation identifies FFmpegBuild’s patched decoder, and the test expectation removes the LibDTSX reference.
Release-source checks
scripts/ci/release-source-proof.py, scripts/ci/release-source-proof.test.py, scripts/ci/apple-test-selector-contract.json, scripts/ci/select-apple-platforms.py
The package and native-source graph counts, pin-coverage expectation, and accepted build-input fingerprints are updated.

Priority: Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related PRs

Suggested reviewers: zenjabba, rhainland

Merge Risk: Low · up to 6bae5

The remaining issue is limited to CI efficiency: refresh the test-source digest to avoid unnecessary platform runs.

Security architecture risk: Low · up to 6bae5

This changes the audio libraries shipped to users, not just documentation. The reviewed validation checks remain conservative, and no new security bypass was demonstrated. The updated third-party decoder code and release binaries were not independently verified.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The material exposure is media processing in Apple applications using the refreshed decoder stack. The dependency documentation also describes additional native format support, so removing LibDTSX does not by itself establish a smaller input-processing attack surface.

Trust Boundaries and Controls

  • observed — The selector change refreshes the accepted build-input fingerprint without changing selection control flow. Input mismatches retain the full-platform fallback. Test-source narrowing still requires the sealed controller to match both compared commits, and downstream acceptance still requires a consistent proof and successful validation.

Resilience and Maintainability Implications

  • observed — The source-proof graph now requires 11 packages and 18 total entries, consistent with removing one package. It still binds repository and commit identity, compares packaging inputs with committed bytes, and validates immutable source revisions. Validation failure returns an unavailable proof rather than authorizing reuse.
Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 5 files. (5 skipped: 5… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly identifies the dependency pin and the main behavioral change: upstream’s exact TrueHD Atmos rendering.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The pull request description directly matches the changeset. It explains the AetherEngine pin, TrueHD Atmos rendering changes, dependency updates, LibDTSX removal, documentation updates, validation, a…
Full details: Description check

Explanation

The pull request description directly matches the changeset. It explains the AetherEngine pin, TrueHD Atmos rendering changes, dependency updates, LibDTSX removal, documentation updates, validation, and risks.

Full details: Docstring Coverage

Explanation

Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 5 files. (5 skipped: 5 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@macroscopeapp

macroscopeapp Bot commented Oct 24, 2026

Copy link
Copy Markdown

The Evidence section has no captures or evidence link for either visible change:

  • Playback output changes through the AetherEngine pin in iosApp/project.yml: TrueHD Atmos now uses exact object rendering, and DTS:X standard presentations can include height channels. This affects iPhone, iPhone Duo folded and open, iPad, Mac, and Apple TV. The claim that this changes only what the receiver gets does not make the playback behavior non-visible. Add playback recordings or equivalent output evidence for each affected device, with device, build/commit, and audio route identified.
  • The Open Source Licenses acknowledgements no longer list LibDTSX, due to the removal in iosApp/iosApp/Screens/Settings/OpenSourceAcknowledgementsView.swift and deletion of iosApp/Resources/OpenSourceLicenses/LibDTSX-LGPL-3.0.txt. This page reaches iPhone, iPhone Duo folded and open, iPad, Mac, and Apple TV. Add before-and-after captures of the same page for each affected device, with device and build/commit identified.

Suggested fix: attach or publish the playback evidence and acknowledgements before-and-after captures, covering the devices above.

Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness.

Posted via Macroscope — Visible change evidence

@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 impact: playback Can't play, stalls, or wrong media priority: P2 Limited scope, workaround exists, or polish labels Oct 24, 2026
@silo-triage

silo-triage Bot commented Oct 24, 2026

Copy link
Copy Markdown

The Evidence section identifies a visible change in Settings > About > Acknowledgements: removal of the LibDTSX entry. Please add before-and-after captures of that screen on the affected device surfaces, or explain why a device is unaffected. LegalNoticesTests checks bundled acknowledgements, but does not show the rendered change. This request is for the acknowledgements screen, not screenshots of receiver audio output.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

⚠️ Outside diff range comments (1)

Minor · Refresh the test-source input baseline. · select-apple-platforms.py:38

scripts/ci/select-apple-platforms.py:38
🚀 Performance & Scalability | 🟡 Minor | ⚡ Quick win

Refresh the test-source input baseline.

This PR changes iosApp/project.yml, but leaves TEST_SOURCE_INPUTS_SHA256 unchanged. test_source_guard includes that file in its tree digest. After this PR, a comparison that changes only a reviewed test source will reject the old digest and select all platforms, including the unnecessary macOS build. Recompute TEST_SOURCE_INPUTS_SHA256 for the new tracked-input tree, then refresh the controller seal. (raw.githubusercontent.com)

🔇 Additional comments: 4
iosApp/iosApp/Screens/Player/PlayerSettings.swift: 1

522-526: LGTM!

iosApp/Tests/MediaLogRedactorTests.swift: 1

218-218: LGTM!

Also applies to: 220-220

docs/tvos-player/07-profile7-dv-truehd-loopback-spec.md: 1

139-139: 📐 Maintainability & Code Quality

Qualify the 9.1.6 layout claim.

Silo selects objectAudioRendering = .apac(.l714). If no Silo path selects a 9.1.6 layout, remove 9.1.6 or state that it describes an Aether capability outside the Silo configuration.

docs/tvos-player/07-profile7-dv-truehd-loopback-spec.md-139-139: 1

139-139: Minor · Maintainability & Code Quality · Quick win

⚠️ Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.

Use a hyphenated compound modifier.

Change one to one to one-to-one in the DTS:X description.

Source: Linters/SAST tools


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bd7291ed-9f60-4a73-9408-1b28b4a31cb1
Commits

Reviewing files that changed from the base of the PR and between ec9c9b4 and bbdcf11.

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: 12
  • THIRD_PARTY_NOTICES.md
  • docs/tvos-player/07-profile7-dv-truehd-loopback-spec.md
  • iosApp/Resources/OpenSourceLicenses/LibDTSX-LGPL-3.0.txt
  • iosApp/Resources/OpenSourceLicenses/README.txt
  • iosApp/Tests/MediaLogRedactorTests.swift
  • iosApp/iosApp/Screens/Player/PlayerSettings.swift
  • iosApp/iosApp/Screens/Settings/OpenSourceAcknowledgementsView.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
Files with no reviewable changes: 2
  • iosApp/Resources/OpenSourceLicenses/LibDTSX-LGPL-3.0.txt
  • iosApp/iosApp/Screens/Settings/OpenSourceAcknowledgementsView.swift

Included review availability: This review used your included allowance. 6 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour.

Quick104 and others added 2 commits October 24, 2026 19:54
Moves the AetherEngine pin to df72cc59, which keeps a prepared
secondary ASS subtitle commit as styled text in the Silo fork, and
reseals the CI build inputs and selector contract for it. The loopback
spec no longer mentions a 9.1.6 DTS:X bed, which Silo never selects.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Oct 24, 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 ❌
⚠️ 3 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Centralize server-relative authentication path validation
  • Enforce latest-link-wins centrally across deferred deep links
  • Rank subtitles using container capabilities and one stable cross-client policy

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔇 Additional comments: 4
iosApp/project.yml: 1

66-66: LGTM!

scripts/ci/select-apple-platforms.py: 1

30-30: 🗄️ Data Integrity & Integration

The build-input fingerprint is current.

The computed fingerprint matches BUILD_INPUTS_SHA256, so the selector does not reject the reviewed selection because of a stale fingerprint.

scripts/ci/apple-test-selector-contract.json: 1

3-3: 🗄️ Data Integrity & Integration

The sealed digest matches the final controller files at the reviewed head. The concern that the seal is stale is contradicted by the inspected files.

docs/tvos-player/07-profile7-dv-truehd-loopback-spec.md-138-138: 1

138-138: Minor · Maintainability & Code Quality · Quick win

⚠️ Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.

Use a hyphen in “one-to-one.”

Change “keeps its four heights one to one” to “keeps its four heights one-to-one.”

Source: Linters/SAST tools


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3ceb39b0-d902-4dff-9571-b6be828f3062
Commits

Reviewing files that changed from the base of the PR and between bbdcf11 and 6bae5d7.

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: 6
  • THIRD_PARTY_NOTICES.md
  • docs/tvos-player/07-profile7-dv-truehd-loopback-spec.md
  • iosApp/Resources/OpenSourceLicenses/README.txt
  • iosApp/project.yml
  • scripts/ci/apple-test-selector-contract.json
  • scripts/ci/select-apple-platforms.py
Files skipped from review as they are similar to previous changes: 2
  • iosApp/Resources/OpenSourceLicenses/README.txt
  • THIRD_PARTY_NOTICES.md

Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 8 reviews per hour.

@Quick104
Quick104 merged commit 9102159 into main Oct 25, 2026
9 checks passed
@Quick104
Quick104 deleted the chore/aetherengine-truehd-exact-render branch October 25, 2026 00:17
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 impact: playback Can't play, stalls, or wrong media 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