fix(android): resolve compatibility issue

This commit is contained in:
Krzysztof Moch 2024-07-15 12:29:57 +02:00
parent 0104fbbbf3
commit 5cd5e5efe7
No known key found for this signature in database
GPG Key ID: D6944D466300D810

View File

@ -12,7 +12,7 @@ enum class AudioOutput(private val outputName: String, @C.StreamType val streamT
companion object { companion object {
@JvmStatic @JvmStatic
fun get(name: String): AudioOutput { fun get(name: String): AudioOutput {
for (entry in entries) { for (entry in values()) {
if (entry.outputName.equals(name, ignoreCase = true)) { if (entry.outputName.equals(name, ignoreCase = true)) {
return entry return entry
} }