From 1b29cb3ef790417936d1bd691004b72bb10879d1 Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Mon, 15 Jun 2026 13:28:23 +0200 Subject: [PATCH] fix(player): apply stored passthrough setting --- lib/screens/video_player_screen.dart | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/screens/video_player_screen.dart b/lib/screens/video_player_screen.dart index 07b1f69c..dbf2b401 100644 --- a/lib/screens/video_player_screen.dart +++ b/lib/screens/video_player_screen.dart @@ -825,12 +825,9 @@ class VideoPlayerScreenState extends State with WidgetsBindin ); } - // Audio passthrough (desktop bitstreams to the receiver; Apple TV - // hands compressed AC3/EAC3 to the system for Dolby/Atmos output) - if (PlatformDetector.isDesktopOS() || PlatformDetector.isAppleTV()) { - if (settingsService.read(SettingsService.audioPassthrough)) { - await currentPlayer.setAudioPassthrough(true); - } + // Audio passthrough (desktop and Android TV; disabled on tvOS) + if (PlatformDetector.supportsAudioPassthrough()) { + await currentPlayer.setAudioPassthrough(settingsService.read(SettingsService.audioPassthrough)); } // HDR is controlled via custom hdr-enabled property on iOS/macOS/Windows