From 1dd1ad163bff976b71be477230bc13f4ebc686f6 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 4 Feb 2020 11:58:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/service/HttpReadAloudService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 34e74859e..cb8ed973b 100644 --- a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt @@ -80,7 +80,7 @@ class HttpReadAloudService : BaseReadAloudService(), if (bytes != null && isActive) { val file = getSpeakFile(index) file.writeBytes(bytes) - if (index == nowSpeak && !pause) { + if (index == nowSpeak) { playAudio(FileInputStream(file).fd) } }