Skip to content

fix(alsa): improve resume and global context handling#1149

Merged
roderickvd merged 2 commits intomasterfrom
fix/alsa-correctness-fixes
Apr 6, 2026
Merged

fix(alsa): improve resume and global context handling#1149
roderickvd merged 2 commits intomasterfrom
fix/alsa-correctness-fixes

Conversation

@roderickvd
Copy link
Copy Markdown
Member

Analogous to #1148, use a Mutex rather than an AtomicUsize to ensure there's no race between a host being dropped and another one being created in parallel.

Also:

  • deal with transient EAGAIN without dropping the audio
  • prevent stalled capture streams on a resume event

This comment was marked as resolved.

@roderickvd roderickvd merged commit 8b152c3 into master Apr 6, 2026
32 checks passed
@roderickvd roderickvd deleted the fix/alsa-correctness-fixes branch April 6, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants