From 7cfd68c491cafc60b583252199fa89a0c982bdaa Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Mon, 17 Aug 2026 23:33:35 +0200 Subject: [PATCH] test(player): match the renamed carrier diagnostic in the mismatch regression The rate-mismatch regression greps the audio diagnostics for the literal 'MAT/IEC 61937 carrier', but 658469f9 reworded the sink's engage message to 'TrueHD (MAT) via IEC 61937 carrier' when DTS-HD joined the carrier. The test self-skips on carrier-less CI emulators, so the rot only surfaces on real hardware, where the fallback behaves correctly and the assertion still fails. Match the shared 'via IEC 61937 carrier' fragment both codecs emit. --- .../com/edde746/plezy/exoplayer/TrueHdSpeedTransitionTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/androidTest/kotlin/com/edde746/plezy/exoplayer/TrueHdSpeedTransitionTest.kt b/android/app/src/androidTest/kotlin/com/edde746/plezy/exoplayer/TrueHdSpeedTransitionTest.kt index ab2b602e0..4d1ec51a5 100644 --- a/android/app/src/androidTest/kotlin/com/edde746/plezy/exoplayer/TrueHdSpeedTransitionTest.kt +++ b/android/app/src/androidTest/kotlin/com/edde746/plezy/exoplayer/TrueHdSpeedTransitionTest.kt @@ -297,7 +297,7 @@ class TrueHdSpeedTransitionTest { // AudioTrack is ever opened and the rate sequence alone cannot tell the two apart. assertTrue( "the carrier must have been entered and then left at runtime, saw: $diagnostics", - diagnostics.any { it.contains("MAT/IEC 61937 carrier") } && + diagnostics.any { it.contains("via IEC 61937 carrier") } && diagnostics.any { it.contains("44.1kHz-family rate its container did not") } ) assertTrue("a decoder must take the stream over instead of the carrier", decoder != null)