Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible fix for ALSA #750 (crash when connect/disconnect devices) #953

Open
RossBencina opened this issue Aug 2, 2024 · 0 comments
Open
Labels
src-alsa ALSA Host API /src/hostapi/alsa

Comments

@RossBencina
Copy link
Collaborator

possible fix for #750

(simphone project submitted the attached patch by email. requires rework and testing to make it into a viable PR, but perhaps it helps someone get started).

simphone wrote:

the patch has mostly to do with error recovery in the (blocking) alsa host api. comments inside the patch explain what was changed and why it had to be changed. i won't go into great detail here, except to say that this patch now finally allows receiving an "unanticipated host error" when an audio device is unplugged from a linux system, just as it happens with other host apis (for example, on windows). otherwise, such changes usually go undetected with alsa.

401_portaudio_alsa.diff.txt

@RossBencina RossBencina added the src-alsa ALSA Host API /src/hostapi/alsa label Aug 2, 2024
@RossBencina RossBencina changed the title possible fix for #750 (ALSA crash when connect/disconnect devices) possible fix for ALSA #750 (crash when connect/disconnect devices) Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src-alsa ALSA Host API /src/hostapi/alsa
Projects
None yet
Development

No branches or pull requests

1 participant