RandyGaul / cute_headers

Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
4.33k stars 269 forks source link

cutesound: fix popping issues & a mixer crash when pitch==0 #395

Closed omicronrex closed 1 month ago

omicronrex commented 1 month ago

This pr fixes a few problems that caused the mixer to write loud pops at the end of sounds, and a crash that ocurred when the pitch of a sound was set to zero.

RandyGaul commented 1 month ago

Looks good!