jarikomppa / soloud

Free, easy, portable audio engine for games
http://soloud-audio.com
Other
1.69k stars 270 forks source link

Update miniaudio.h #333

Closed FuzzyQuils closed 2 years ago

FuzzyQuils commented 2 years ago

This pull request updates miniaudio.h and changes soloud_miniaudio.cpp to allow the new version to work.

In my game engine using SoLoud, this was required to fix a SIGFPE on Linux that was occurring inside miniaudio itself and crashing my engine. (The bug in question was pDevice->playback.internalPeriods being set to 0 somewhere, which I'm pretty sure is not meant to happen)