merge commit

This commit is contained in:
Chen Li
2025-08-22 17:35:02 +08:00
parent 926f162287
commit e39f42a3df
6 changed files with 71 additions and 59 deletions

View File

@@ -10,18 +10,18 @@ class TtsUtil {
}
static Future<bool> start(bool isChinese) async {
return await execute('start', {'isChinese': isChinese});
return await execute('startTts', {'isChinese': isChinese});
}
static Future<void> send(String text) async {
await execute('send', {'text': text});
await execute('sendTts', {'text': text});
}
static Future<void> complete() async {
await execute('complete');
await execute('completeTts');
}
static Future<void> stop() async {
await execute('stop');
await execute('stopTts');
}
}