fix(tvos): enable native EAC3 JOC playback

This commit is contained in:
edde746
2026-07-11 12:59:57 +02:00
parent c86d40f8dd
commit e07172ade4
11 changed files with 20 additions and 19 deletions
+2 -3
View File
@@ -220,9 +220,8 @@ class PlatformDetector {
}
static bool supportsAudioPassthrough() {
// Apple TV: EAC3+JOC rides the AVPlayer Atmos sink in the mpv fork's
// ao_avfoundation; other Dolby content decodes to multichannel PCM.
// Route capability is gated at runtime inside the AO itself.
// Apple TV hands AC3/EAC3 access units to the native sample-buffer audio
// renderer; unsupported streams and renderer failures fall back to PCM.
return isAppleTV() || isDesktopOS() || (Platform.isAndroid && isTV());
}