Reduce seek delay to 300
This commit is contained in:
parent
316bb438b3
commit
916b7efb90
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue