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

Add real block write for AudioRequestBuffer #2712

Merged
merged 1 commit into from
Dec 21, 2024
Merged

Add real block write for AudioRequestBuffer #2712

merged 1 commit into from
Dec 21, 2024

Conversation

earlephilhower
Copy link
Owner

Optimize AudioRquestBuffer writing when large blocks are available (i.e. I2S writes of full MP3 or AAC frames in BackgroundAudio). Update I2S to use the new call. Reduces 1152 calls to arb::write() to a single call/return and optimized memcpy in that case.

Optimize AudioRquestBuffer writing when large blocks are available (i.e.
I2S writes of full MP3 or AAC frames in BackgroundAudio).  Update I2S to use
the new call.  Reduces 1152 calls to arb::write() to a single call/return
and optimized memcpy in that case.
@earlephilhower earlephilhower merged commit 5fb5e16 into master Dec 21, 2024
26 checks passed
@earlephilhower earlephilhower deleted the arb branch December 21, 2024 22:15
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.

1 participant