Adjust audio levels animation.

This commit is contained in:
Rashad Sookram
2022-04-11 11:56:46 -04:00
parent 66b6420f21
commit 08abe890ff
2 changed files with 5 additions and 3 deletions

View File

@@ -91,9 +91,9 @@ data class CallParticipant constructor(
fun fromRawAudioLevel(raw: Int): AudioLevel {
return when {
raw < 500 -> LOWEST
raw < 2000 -> LOW
raw < 8000 -> MEDIUM
raw < 20000 -> HIGH
raw < 1000 -> LOW
raw < 5000 -> MEDIUM
raw < 16000 -> HIGH
else -> HIGHEST
}
}