pull/1744/head
kunfei 3 years ago
parent 9ba83c0589
commit df63877a05
  1. 2
      app/src/main/java/io/legado/app/service/TTSReadAloudService.kt

@ -15,7 +15,6 @@ import io.legado.app.lib.dialogs.SelectItem
import io.legado.app.model.ReadAloud import io.legado.app.model.ReadAloud
import io.legado.app.model.ReadBook import io.legado.app.model.ReadBook
import io.legado.app.utils.* import io.legado.app.utils.*
import java.util.*
/** /**
* 本地朗读 * 本地朗读
@ -60,7 +59,6 @@ class TTSReadAloudService : BaseReadAloudService(), TextToSpeech.OnInitListener
if (status == TextToSpeech.SUCCESS) { if (status == TextToSpeech.SUCCESS) {
textToSpeech?.let { textToSpeech?.let {
it.setOnUtteranceProgressListener(ttsUtteranceListener) it.setOnUtteranceProgressListener(ttsUtteranceListener)
it.language = Locale.CHINA
ttsInitFinish = true ttsInitFinish = true
play() play()
} }

Loading…
Cancel
Save