[Wake/VAD/STT 与 Live runtime]:完成真实重复语音运行,包含云端ASR/TTS开关、run-live和临时上下文测试
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user