[Opt3.0]兼容以前的单语言功能
This commit is contained in:
@@ -86,9 +86,12 @@ class IFlyTekTts : IMogoTTS, InitListener {
|
||||
}
|
||||
|
||||
override fun speakTTSVoiceWithLevel(tts: String?, level: Int) {
|
||||
speakTTSVoiceWithLevel(tts, level, null)
|
||||
}
|
||||
|
||||
override fun speakTTSVoiceWithLevel(tts: String?, level: Int, callBack: IMogoTTSCallback?) {
|
||||
if (tts.isNullOrEmpty()) return
|
||||
speakMultiLangTTSWithLevel(MultiLangTtsEntity(listOf(LangTtsEntity(tts, LanguageType.CHINESE))), level, callBack)
|
||||
}
|
||||
|
||||
override fun speakMultiLangTTSWithLevel(
|
||||
|
||||
Reference in New Issue
Block a user