pull/42/head
kunfei 5 years ago
parent 6d1ba3fda1
commit 5db61df0b2
  1. 7
      app/src/main/java/io/legado/app/service/HttpReadAloudService.kt

@ -133,6 +133,13 @@ class HttpReadAloudService : BaseReadAloudService(),
} }
override fun upSpeechRate(reset: Boolean) { override fun upSpeechRate(reset: Boolean) {
job?.cancel()
mediaPlayer.reset()
for (i in 0 until nowSpeak) {
contentList.removeAt(0)
}
nowSpeak = 0
playingIndex = -1
play() play()
} }

Loading…
Cancel
Save