@ -230,14 +230,20 @@ class ReadAloudService : BaseService(), TextToSpeech.OnInitListener, AudioManage
}
private fun prevP() {
if (nowSpeak < contentList.size - 1) {
readAloudNumber += contentList[nowSpeak].length
nowSpeak++
playTTS()
private fun nextP() {
if (nowSpeak > 0) {
nowSpeak--
readAloudNumber -= contentList[nowSpeak].length
/**
* 初始化MediaSession