Skip to content

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.

2 participants