feat(voice): 提升桌面端语音交互与本地任务执行支持
This commit is contained in:
@@ -112,6 +112,7 @@ func (s *voiceSession) speak(taskID string) {
|
||||
s.ttsMu.Unlock()
|
||||
ts.Close()
|
||||
cancel()
|
||||
s.flushAnnounces() // 朗读期间排队的主动播报,本轮播完接着念(别抢麦)
|
||||
}
|
||||
|
||||
// stopTTS 掐掉当前下行 TTS(打断 / 会话结束)。幂等。Close 后 Audio 关闭 → 音频泵自然收尾。
|
||||
|
||||
Reference in New Issue
Block a user