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

Document buffer format for audio processors. #3186

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

AlbertoGP
Copy link
Contributor

There is a comment in the example

float *samples = (float *)buffer; // Samples internally stored as <float>s
about this, but it is more discoverable in the API docs.

@AlbertoGP
Copy link
Contributor Author

From the stream effects example

float l = ((float *)buffer)[i], r = ((float *)buffer)[i + 1];
it seems that this applies to AttachAudioStreamProcessor() too, should I add the note also there?

@raysan5 raysan5 merged commit 7124a14 into raysan5:master Jul 19, 2023
@raysan5
Copy link
Owner

raysan5 commented Jul 19, 2023

@AlbertoGP 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