pull/84/head
kunfei 5 years ago
parent 20134f757e
commit 5522533bc1
  1. 2
      app/src/main/java/io/legado/app/service/HttpReadAloudService.kt

@ -80,7 +80,7 @@ class HttpReadAloudService : BaseReadAloudService(),
if (bytes != null && isActive) { if (bytes != null && isActive) {
val file = getSpeakFile(index) val file = getSpeakFile(index)
file.writeBytes(bytes) file.writeBytes(bytes)
if (index == nowSpeak) { if (index == nowSpeak && !pause) {
playAudio(FileInputStream(file).fd) playAudio(FileInputStream(file).fd)
} }
} }

Loading…
Cancel
Save