Skip to content

Audio buffer fixes - #85

Merged
SandiyosDev merged 3 commits into
hugeBlack:mainfrom
SandiyosDev:audio-clamp
Aug 6, 2026
Merged

Audio buffer fixes#85
SandiyosDev merged 3 commits into
hugeBlack:mainfrom
SandiyosDev:audio-clamp

Conversation

@SandiyosDev

Copy link
Copy Markdown
Collaborator

last of what i said id take from #70, @2extndd

extndd and others added 3 commits August 6, 2026 03:20
audio_cb copied frames*4 bytes into a fixed 4096-byte AudioQueue buffer
with no bound. Normal ~10ms chunks stay well under the limit, but an
oversized chunk delivered during recovery on a flaky link overran the
allocation. Clamp the copy length to BUFFER_SIZE.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@SandiyosDev
SandiyosDev merged commit 42a61b6 into hugeBlack:main Aug 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants