Skip to content

feat: turn on the object-audio traits by default in the Silo fork - #24

Merged
Quick104 merged 1 commit into
mainfrom
feat/silo-default-object-audio-traits
Oct 19, 2026
Merged

Quick104 merged 1 commit into
mainfrom
feat/silo-default-object-audio-traits

Conversation

@Quick104

@Quick104 Quick104 commented Oct 19, 2026 •

Copy link
Copy Markdown

Summary

Turns on the TrueHDObjectAudio and DTSXObjectAudio traits 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 behind objectAudioRendering. 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.
  • LibTrueHD 3.0.0 and LibDTSX 3.0.0 resolve and link again for every consumer of the fork. LibDTSX is a dynamic framework under the LGPL that the app embeds.
  • DualLayerDolbyVision and DolbyVisionStillReshaping stay 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

  • Device / OS: macOS 27, Xcode 27, Swift 6.4.
  • Source media: none; package build and test suite.
  • Result:
    • swift build passes with the new defaults, and the trait-gated decoders link LibTrueHD and LibDTSX.
    • swift test main group: 785 XCTest (1 skipped) and 4,749 Swift Testing tests pass (68 more than with the traits off: the object-audio suites).
    • Authorization group: 56 of 56 pass.

Evidence: https://evidence.siloserver.org/r/aetherengine/default-object-audio-traits/

Checklist

  • CHANGELOG.md updated
  • Commit messages follow Conventional Commits
  • The fix lives in the engine, not in a host-side workaround
  • Public API changes are intentional and documented (none; the default trait set changes)

AI disclosure

  • Harness: Claude Code, running in T3 Code
  • Model: claude-opus-5-5
  • Involvement: AI-generated, built and tested as above. Not yet reviewed by a person.

🤖 Generated with Claude Code

Note

Enable TrueHDObjectAudio and DTSXObjectAudio package traits by default in the Silo fork

  • Changes the default Swift package trait set in Package.swift from empty to TrueHDObjectAudio and DTSXObjectAudio, so LibTrueHD and LibDTSX resolve and link again
  • This is Silo-specific because its XcodeGen project cannot set package traits; upstream keeps all traits off
  • DualLayerDolbyVision and DolbyVisionStillReshaping remain disabled
  • Documents the default change in CHANGELOG.md
  • Behavioral Change: Swift package consumers using the default trait configuration now build with TrueHD and DTS:X object audio enabled

Macroscope summarized 185be1f.

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-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Oct 19, 2026
@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 ❌

@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0b909319-86a9-4901-9c99-d1ad460a964c
📥 Commits

Reviewing files that changed from the base of the PR and between adf341b and 185be1f.

📒 Files selected for processing: 2
  • CHANGELOG.md
  • Package.swift

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The package now enables TrueHDObjectAudio and DTSXObjectAudio by default. The changelog records that both Dolby Vision traits remain disabled in the fork.

Changes: Default audio traits

Layer / File(s) Summary
Package trait defaults
Package.swift, CHANGELOG.md
Package.swift enables TrueHDObjectAudio and DTSXObjectAudio by default. The changelog states that both Dolby Vision traits remain disabled in the fork, while upstream leaves all traits disabled.

Priority: ➖ Normal

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

Change: Feature

Suggested reviewers: brandomoore

Merge Risk: ⚪ Minimal · up to 185be

The fork now enables TrueHD and DTS:X object-audio support by default while leaving Dolby Vision traits off. The inspected source and changelog agree, and no actionable merge risk is established.

Pre-merge checks: Passed 5
Check name Status Explanation
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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.
Title check Passed The title clearly and concisely identifies the main change: enabling object-audio traits by default in the Silo fork.
Description check Passed The description directly explains the trait changes, their Silo-specific purpose, affected dependencies, unchanged traits, licensing context, and test results.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
📝 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

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-triage silo-triage Bot added the enhancement New feature or request label Oct 19, 2026
@Quick104
Quick104 merged commit 3efa49b into main Oct 19, 2026
3 checks passed
Quick104 added a commit to Silo-Server/silo-apple 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]>
neurekadev pushed a commit to neurekadev/silo-aether-engine that referenced this pull request Nov 5, 2026
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size/S 0–49 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant