8000 Core Audio: Add onDeviceWakeup function to prevent deadlock when audio callback not triggered by ideoforms · Pull Request #1175 · mackron/miniaudio · GitHub
[go: up one dir, main page]

Skip to content

Core Audio: Add onDeviceWakeup function to prevent deadlock when audio callback not triggered - #1175

Merged
mackron merged 1 commit into
mackron:dev-0.12from
ideoforms:dev-0.12-coreaudio-wakeup
Oct 21, 2026
Merged

mackron merged 1 commit into
mackron:dev-0.12from
ideoforms:dev-0.12-coreaudio-wakeup

Conversation

@ideoforms
Copy link
Copy Markdown

In a separate issue (addressed in #1174), I hit a case in which the audio callback was not triggered. When this happened, I found that the program stalled forever on ma_device_uninit. It turned out this was because it was waiting forever for a mutex that was never released.

This PR addresses that issue by adding an onDeviceWakeup function, as per the other backend handlers.

@mackron
mackron merged commit d5520fa into mackron:dev-0.12 Oct 21, 2026
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

0