mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-28 19:33:51 +08:00
恢复sentence_start判断
This commit is contained in:
@@ -17,8 +17,7 @@ async def sendAudioMessage(conn, sentenceType, audios, text):
|
|||||||
conn.tts.tts_audio_first_sentence = False
|
conn.tts.tts_audio_first_sentence = False
|
||||||
pre_buffer = True
|
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)
|
await sendAudio(conn, audios, pre_buffer)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user