From f1689a7794d78b4fd23a855bb41ad33984766db9 Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Sun, 14 Jun 2026 13:49:57 +0200 Subject: [PATCH] fix(tvos): keep audio passthrough opt-in --- lib/services/settings_service.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/services/settings_service.dart b/lib/services/settings_service.dart index f89b888e..e8dc4dde 100644 --- a/lib/services/settings_service.dart +++ b/lib/services/settings_service.dart @@ -169,14 +169,15 @@ class _UseExternalPlayerPref extends Pref { Future writeTo(BaseSharedPreferencesService svc, bool value) => svc.writeBool(key, value); } -/// Defaults to on for Apple TV, where passthrough is what gets Dolby Digital -/// (Plus) / Atmos to the receiver; opt-in everywhere else. +/// Experimental Dolby passthrough. Keep opt-in everywhere, including Apple TV, +/// until the AVFoundation EAC3 path is verified across real receiver setups. class _AudioPassthroughPref extends Pref { const _AudioPassthroughPref() : super('audio_passthrough'); @override bool readFrom(BaseSharedPreferencesService svc) { - return svc.prefs.getBool(key) ?? PlatformDetector.isAppleTV(); + // TODO: Default Apple TV to on once EAC3 passthrough is hardware-verified. + return svc.prefs.getBool(key) ?? false; } @override