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

PA doesn't provide a mechanism for handling/reporting async errors or failure #143

Open
PortAudio-admin opened this issue Feb 3, 2011 · 2 comments
Labels
LIST-REVIEW Requires open review/discussion on the mailing list P3 Priority: Normal public-api The public API defined in include/PortAudio.h

Comments

@PortAudio-admin
Copy link
Collaborator

Issue created by @RossBencina

At present, if code in a PortAudio callback thread fails for some reason, there is no way for a host API implementation to report this condition to the user. The API design assumes PortAudio can never fail asynchronously in this way.

This issue can arise in any PA implementation that runs its own callback thread and calls system functions that can fail/return an error.

At present the state of a PA stream in such error conditions is undefined.

@PortAudio-admin
Copy link
Collaborator Author

Comment by @RossBencina

TRAC migration: propagating ticket status from TRAC

@PortAudio-admin PortAudio-admin added P3 Priority: Normal LIST-REVIEW Requires open review/discussion on the mailing list public-api The public API defined in include/PortAudio.h labels Sep 24, 2020
@philburk
Copy link
Collaborator

This could include callbacks when a device is disconnected, eg. headphones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LIST-REVIEW Requires open review/discussion on the mailing list P3 Priority: Normal public-api The public API defined in include/PortAudio.h
Projects
None yet
Development

No branches or pull requests

2 participants