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

Prevent app crash when miniaudio samples bigger than capacity #596

Merged
merged 2 commits into from
Sep 7, 2024

Conversation

jonian
Copy link
Contributor

@jonian jonian commented Sep 7, 2024

On linux and macos the app crashes when enabling audio due to frameCount * channelCount being bigger than samples capacity. This prevents the crash, but audio still not working (only noises).

@wheremyfoodat wheremyfoodat merged commit c12c3bc into wheremyfoodat:master Sep 7, 2024
14 checks passed
@jonian jonian deleted the fix-miniaudio-crash branch September 7, 2024 13:26
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