openclaw/extensions
Dan Guido 101d0f451f
fix(voice-call): prevent audio overlap with TTS queue (#1713)
* fix(voice-call): prevent audio overlap with TTS queue

Add a TTS queue to serialize audio playback and prevent overlapping
speech during voice calls. Previously, concurrent speak() calls could
send audio chunks simultaneously, causing garbled/choppy output.

Changes:
- Add queueTts() to MediaStreamHandler for sequential TTS playback
- Wrap playTtsViaStream() audio sending in the queue
- Clear queue on barge-in (when user starts speaking)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(voice-call): use iterative queue processing to prevent heap exhaustion

The recursive processQueue() pattern accumulated stack frames, causing
JavaScript heap out of memory errors on macOS CI. Convert to while loop
for constant stack usage regardless of queue depth.

* fix: prevent voice-call TTS overlap (#1713) (thanks @dguido)

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-01-25 12:02:17 +00:00
..
bluebubbles fix: harden message aborts + bluebubbles dm create (#1751) (thanks @tyler6204) 2026-01-25 10:20:14 +00:00
copilot-proxy chore: bump version to 2026.1.23 2026-01-23 22:14:56 +00:00
diagnostics-otel chore: bump version to 2026.1.23 2026-01-23 22:14:56 +00:00
discord Channels: add per-group tool policies 2026-01-24 05:49:39 +00:00
google-antigravity-auth chore: bump version to 2026.1.23 2026-01-23 22:14:56 +00:00
google-gemini-cli-auth chore: bump version to 2026.1.23 2026-01-23 22:14:56 +00:00
googlechat fix: newline chunking across channels 2026-01-25 04:11:36 +00:00
imessage fix: newline chunking across channels 2026-01-25 04:11:36 +00:00
llm-task fix: publish llm-task docs and harden tool 2026-01-24 01:44:51 +00:00
lobster docs(lobster): document clawd.invoke tool allowlisting 2026-01-24 09:29:32 +00:00
matrix feat: add prek pre-commit hooks and dependabot (#1720) 2026-01-25 10:53:23 +00:00
mattermost feat: add prek pre-commit hooks and dependabot (#1720) 2026-01-25 10:53:23 +00:00
memory-core fix: clean docker onboarding warnings + preserve agentId casing 2026-01-24 19:07:01 +00:00
memory-lancedb chore: bump version to 2026.1.23 2026-01-23 22:14:56 +00:00
msteams fix: newline chunking across channels 2026-01-25 04:11:36 +00:00
nextcloud-talk fix: newline chunking across channels 2026-01-25 04:11:36 +00:00
nostr chore: update deps and test timeout 2026-01-24 10:30:30 +00:00
open-prose feat: add prek pre-commit hooks and dependabot (#1720) 2026-01-25 10:53:23 +00:00
qwen-portal-auth fix: enforce plugin config schemas (#1272) (thanks @thewilloftheshadow) 2026-01-20 11:03:17 +00:00
signal fix: newline chunking across channels 2026-01-25 04:11:36 +00:00
slack Channels: add per-group tool policies 2026-01-24 05:49:39 +00:00
telegram fix: newline chunking across channels 2026-01-25 04:11:36 +00:00
tlon fix(tlon): Fix Zod v4 record() and @urbit/aura v3 API changes (#1631) 2026-01-24 21:09:18 +00:00
voice-call fix(voice-call): prevent audio overlap with TTS queue (#1713) 2026-01-25 12:02:17 +00:00
whatsapp fix: newline chunking across channels 2026-01-25 04:11:36 +00:00
zalo fix: newline chunking across channels 2026-01-25 04:11:36 +00:00
zalouser feat: add prek pre-commit hooks and dependabot (#1720) 2026-01-25 10:53:23 +00:00