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

Replace assert in WASAPI check with bubble'd error #797

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

ryanmcgrath
Copy link
Contributor

This PR is following on to #796 regarding an assert in the wasapi layer.

This change just replaces it to bubble a backend specific error with an error message. For our use case, this stops a crash that pops up for some users who encounter this path and allows us to gracefully just not play audio and log a message elsewhere.

Lemme know if there's anything else besides the PR itself that needs adjusting or tending to - and thanks for the great library!

@est31 est31 merged commit f51589c into RustAudio:master Aug 31, 2023
16 checks passed
@ryanmcgrath ryanmcgrath mentioned this pull request Sep 1, 2023
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