Skip to content

Fix NullAudioPlayer::Buffered() returning 0 (audio-thread spin/hang)#1129

Open
bassdr wants to merge 1 commit into
Kenix3:mainfrom
bassdr:fix/null-audioplayer-buffered
Open

Fix NullAudioPlayer::Buffered() returning 0 (audio-thread spin/hang)#1129
bassdr wants to merge 1 commit into
Kenix3:mainfrom
bassdr:fix/null-audioplayer-buffered

Conversation

@bassdr

@bassdr bassdr commented Jun 12, 2026

Copy link
Copy Markdown

It discards all audio, so reporting 0 made the producer spin feeding it forever and starve the gfx thread. Return the desired buffered count, as the header already documents.

It discards all audio, so reporting 0 made the producer spin feeding it
forever and starve the gfx thread. Return the desired buffered count, as
the header already documents.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

3 participants