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 }