Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove CoreAudio device disconnect listener when closing input mode s…
…treams The flag handle->disconnectListenerAdded[0] is never set to true for input mode streams because the probeOpenStream() code uses handle->disconnectListenerAdded[mode]. This causes RtAudio to never remove device disconnect listeners, which can cause the listener slots to fill up and an "illegal instruction" error code to be returned when you try to add a new one.
- Loading branch information