[2.12.0-f] tts 级别

This commit is contained in:
yangyakun
2022-10-25 17:58:48 +08:00
parent 7e0a85073f
commit 79de6f731f
18 changed files with 100 additions and 72 deletions

View File

@@ -54,7 +54,7 @@ object VoiceControlFacade: IMoGoVoiceControlFacade, IMogoVoiceCmdCallBack, IMogo
override fun speak(context: Context, content: String, listener: IMoGoVoiceCallback) {
listeners += WeakReference(listener)
AIAssist.getInstance(context).speakTTSVoice(content, this)
AIAssist.getInstance(context).speakTTSVoiceWithLevel(content,AIAssist.LEVEL3 ,this)
}
override fun onCmdSelected(cmd: String?) {