Reduce seek delay to 300

This commit is contained in:
Naveen 2023-10-17 07:14:39 +05:30
parent 316bb438b3
commit 916b7efb90
No known key found for this signature in database
GPG key ID: 0E155DAD31671DA3

View file

@ -141,7 +141,7 @@ class SimpleMusicPlayer(private val exoPlayer: ExoPlayer) : ForwardingPlayer(exo
private fun seekWithDelay() {
seekJob?.cancel()
seekJob = scope.launch {
delay(timeMillis = 400)
delay(timeMillis = 300)
val seekCount = seekToNextCount - seekToPreviousCount
if (seekCount != 0) {
seekByCount(seekCount)