newdigate / teensy-variable-playback

Firmware library: variable playback rate for teensy audio library
MIT License
54 stars 7 forks source link

Fix issue with potential audio block leak #54

Closed h4yn0nnym0u5e closed 1 year ago

h4yn0nnym0u5e commented 1 year ago

If there aren't enough audio blocks to allocate, the previous code returned without releasing the ones it had allocated, leaving them unavailable for re-use. This would almost certainly rapidly break the entire audio system.

newdigate commented 1 year ago

Thanks @h4yn0nnym0u5e