mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-26 17:13:54 +08:00
update:python单模块部署声纹识别对接
This commit is contained in:
@@ -76,7 +76,6 @@ async def sendAudio(conn, audios, pre_buffer=True):
|
||||
frame_duration = 60 # 帧时长(毫秒),匹配 Opus 编码
|
||||
start_time = time.perf_counter()
|
||||
play_position = 0
|
||||
last_reset_time = time.perf_counter() # 记录最后的重置时间
|
||||
|
||||
# 仅当第一句话时执行预缓冲
|
||||
if pre_buffer:
|
||||
|
||||
Reference in New Issue
Block a user