mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
恢复sentence_start判断
This commit is contained in:
parent
71eef4693d
commit
f40c3ec0f6
1 changed files with 1 additions and 2 deletions
|
|
@ -17,8 +17,7 @@ async def sendAudioMessage(conn, sentenceType, audios, text):
|
|||
conn.tts.tts_audio_first_sentence = False
|
||||
pre_buffer = True
|
||||
|
||||
if sentenceType == SentenceType.FIRST:
|
||||
await send_tts_message(conn, "sentence_start", text)
|
||||
await send_tts_message(conn, "sentence_start", text)
|
||||
|
||||
await sendAudio(conn, audios, pre_buffer)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue