[Opt]去掉多语言集合中单个元素合成完成的回调

This commit is contained in:
chenfufeng
2023-03-13 14:25:35 +08:00
parent 267b7cc354
commit db2370dfd4

View File

@@ -266,7 +266,7 @@ class IFlyTekTts : IMogoTTS, InitListener {
if (curTtsEntity != null) {// 多语言
val langTtsEntity = curTtsEntity!!.ttsNext()
if (langTtsEntity != null) {
speakVoiceMap[curTtsEntity.toString()]?.onSpeakEnd(curTtsEntity.toString())
// speakVoiceMap[curTtsEntity.toString()]?.onSpeakEnd(curTtsEntity.toString())
ttsNextLanguage(langTtsEntity)
} else {
speakVoiceMap.remove(curTtsEntity.toString())?.onSpeakEnd(curTtsEntity.toString())