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

Fix UpdateSound parameter name #3405

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Fix UpdateSound parameter name #3405

merged 1 commit into from
Oct 13, 2023

Conversation

KislyjKisel
Copy link
Contributor

The parameter sampleCount is multiplied by ma_get_bytes_per_frame meaning it is actually the number of frames, not samples. ma_get_bytes_per_frame(format, channels) is ma_get_bytes_per_sample(format) * channels.

@raysan5 raysan5 merged commit 5a0d9c8 into raysan5:master Oct 13, 2023
@raysan5
Copy link
Owner

raysan5 commented Oct 13, 2023

@KislyjKisel thanks for the review!

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.

None yet

2 participants