From 5cd5e5efe70b49d76fb27e3220a1df12b32901a6 Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Mon, 15 Jul 2024 12:29:57 +0200 Subject: [PATCH] fix(android): resolve compatibility issue --- android/src/main/java/com/brentvatne/exoplayer/AudioOutput.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/brentvatne/exoplayer/AudioOutput.kt b/android/src/main/java/com/brentvatne/exoplayer/AudioOutput.kt index 7022600a..44e44bc2 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/AudioOutput.kt +++ b/android/src/main/java/com/brentvatne/exoplayer/AudioOutput.kt @@ -12,7 +12,7 @@ enum class AudioOutput(private val outputName: String, @C.StreamType val streamT companion object { @JvmStatic fun get(name: String): AudioOutput { - for (entry in entries) { + for (entry in values()) { if (entry.outputName.equals(name, ignoreCase = true)) { return entry }