diff --git a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt index 8e97c5262..2a29b06c9 100644 --- a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt @@ -133,6 +133,13 @@ class HttpReadAloudService : BaseReadAloudService(), } override fun upSpeechRate(reset: Boolean) { + job?.cancel() + mediaPlayer.reset() + for (i in 0 until nowSpeak) { + contentList.removeAt(0) + } + nowSpeak = 0 + playingIndex = -1 play() }