RandyGaul / cute_framework

The *cutest* framework out there for creating 2D games in C++!
https://randygaul.github.io/cute_framework/#/
Other
534 stars 31 forks source link

Negative pitch loop and crash fix #162

Closed ogam closed 3 months ago

ogam commented 3 months ago

When you use negative pitch and sample count < 0 then you'll get a crash on next read. Also adjusted next play sample index when looping with negative pitch to avoid any audio clipping from happening.