fix(android): resolve compatibility issue
This commit is contained in:
parent
0104fbbbf3
commit
5cd5e5efe7
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user