sbooth / SFBAudioEngine

A powerhouse of audio functionality for macOS and iOS
https://sbooth.github.io/SFBAudioEngine/
MIT License
552 stars 87 forks source link

Improve ring buffer performance #171

Closed sbooth closed 3 years ago

sbooth commented 3 years ago

The improvements are mostly in SFB::RingBuffer as a stack allocation is avoided in each call to Read and Write. SFB::Audio::RingBuffer also shows a very slight improvement.