Add real block write for AudioRequestBuffer #2712

Merged
earlephilhower merged 1 commits from arb into master 2024-12-22 01:15:41 +03:00
earlephilhower commented 2024-12-22 00:44:49 +03:00 (Migrated from github.com)

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.
Sign in to join this conversation.