[Wake/VAD/STT 与 Live runtime]:完成真实重复语音运行,包含云端ASR/TTS开关、run-live和临时上下文测试

This commit is contained in:
mkbk
2026-06-17 20:00:55 +08:00
parent ac97daa1e7
commit 4b7cd18a0f
20 changed files with 1043 additions and 68 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ class SoundDeviceAudioTransport:
"transport",
),
)
if segment.metadata.get("format") in {"aiff", "wav"}:
if segment.metadata.get("format") in {"aiff", "wav", "mp3", "m4a", "aac"}:
return _play_file_bytes_with_afplay(segment)
try:
with self._sd.RawOutputStream(