fix(audio): check pthread_create return in ALSA backend #149
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
OragonEfreet/banjo!149
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/alsa-pthread-error-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add error checking for pthread_create() in alsa_open_device().
Previously, if thread creation failed, the device would be returned
as if successfully initialized, leading to a broken audio device.
Also adds null check for audio buffer allocation.
aa354c5a0cce288e1402