增加了设置连接工控机IP的调用

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2021-12-21 18:03:55 +08:00
parent 9bbb5ede54
commit cee45c4fb4
21 changed files with 145 additions and 317 deletions

View File

@@ -201,6 +201,7 @@ public class PadTTS implements IMogoTTS, VoiceClient.VoiceCmdCallBack, OnTtsList
.setFrontResBin(TTS_FRONT_RES)//设置前端合成资源路径.assets路径或sd卡路径均可
.setDictDb(TTS_DICT_RES)//设置合成字典资源路径.assets路径或sd卡路径均可
.setBackResBinArray(mBackResBinArray)//设置后端合成音色资源如果只需设置一个则array只需要传一个成员值就可以init前设置setBackResBin接口无效
.setUseCache(false)
.build();
mEngine.init(config, new AILocalTTSListenerImpl());//初始化合成引擎