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

win32: Always check the return value of GetDefaultAudioEndpoint #348

Merged

Conversation

alexhenrie
Copy link
Contributor

And don't crash if the computer doesn't have any audio devices.

Fixes #347

And don't crash if the computer doesn't have any audio devices.

Fixes FNA-XNA#347
@flibitijibibo flibitijibibo merged commit 893cf51 into FNA-XNA:master May 9, 2024
@alexhenrie
Copy link
Contributor Author

Thank you!

@alexhenrie alexhenrie deleted the GetDefaultAudioEndpoint-crash branch May 9, 2024 15:31
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.

Assertion failed: !FAILED(hr) && "Failed to get default audio endpoint!" when there are no audio devices
2 participants