Repository navigation
Conversation
AVAudioSession.Port.HDMI is "HDMIOutput", not "HDMI", so since superuser404notfound#834 no HDMI route took the activator: every APAC session on an Apple TV 4K (3rd gen, tvOS 27.0) logged "off on route ports=[HDMIOutput]" and played without the silent Atmos stream. The test that compares the constant with the session's own value builds only for iOS and tvOS, so the macOS run stayed green; the value is now pinned there too. Refs superuser404notfound#848, superuser404notfound#834. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Oct 22, 2026
superuser404notfound
pushed a commit
that referenced
this pull request
Oct 25, 2026
…rm (#854) portTypeMatchesTheSession only builds for iOS and tvOS, so the macOS run stayed green while the constant was spelled "HDMI" and no HDMI route took the activator. This pins "HDMIOutput" where there is no AVAudioSession. Taken from #854, whose constant fix landed independently in 814fef1 (7.47.0). Co-Authored-By: Christian Witthøft Sørensen <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WJcXkGQrMiBPixVEFTSBJS
Owner
|
Thank you for tracking this down, and for the A15 / Sonos Arc measurements in the test plan, they are a useful confirmation for #834. The constant itself was fixed independently on main in 814fef1 ( Your extra test closes a real gap, though: |
pkajaba
added a commit
to pkajaba/AetherEngine
that referenced
this pull request
Oct 25, 2026
…4notfound#854) into parity/now-playing-856-fold Two conflicts. AtmosOutputActivator.swift: the type doc comment keeps both the software-host paragraph and the superuser404notfound#848 pause-grace paragraph; update() has one shared 'guard playing else { holdThroughPause(); return }' after the route check, covering the AVPlayer branch (playing = timeControlStatus != .paused) and the renderer branch (playing from the host transport), so the software host gets the same 60 s pause grace; pauseAfterGrace is cancelled before player.play(), release() cancels it, detach() reaches release() through follow(nil). Issue834AtmosActivatorRouteTests.swift: kept both the fold's softwareTransportTruthTable and main's portTypeIsHDMIOutput (superuser404notfound#854) pin.
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.
Summary
AtmosOutputActivator.hdmiPortTypeis"HDMI", butAVAudioSession.Port.HDMI.rawValueis"HDMIOutput", so since #834 no HDMI route takes the activator and APAC on tvOS plays without the silent Atmos stream. This spells it the way the session does.Related to #848 (its pause change only takes effect once the activator runs on HDMI at all) and #834.
What changed
hdmiPortTypeis"HDMIOutput"."HDMIOutput", and a new test pins the value on every platform:portTypeMatchesTheSessiononly builds for iOS and tvOS, which is why the macOS run stayed green.Test plan
[AtmosOutputActivator] off on route ports=[HDMIOutput]; after,active on route ports=[HDMIOutput]. On the software path the Arc showed Multichannel PCM 7.1 before and Dolby Atmos after. Through AVPlayer this Arc showed Dolby Atmos without the activator, so on this sink the visible difference is the software path; the HW-Q990C case is the one AVPlayer needs it for.AVAudioSession.Port.HDMI.rawValueread in a Mac Catalyst build:"HDMIOutput".swift teston macOS 27: 4793 tests, one failure inIssue220SoftwareDecoderDrainTests, which fails the same way onmain.Checklist
CHANGELOG.mdupdated🤖 Generated with Claude Code