JohnnyonFlame / gmloader-next

A compatibility layer for the Android GameMaker Runtime.
GNU General Public License v2.0
9 stars 6 forks source link

Fix wrong audio buffer size in AudioTrack to SDL_OpenAudioDevice function #7

Closed cdeletre closed 2 weeks ago

cdeletre commented 1 month ago

AudioTrack uses buffer size in Bytes while SDL use buffer size in sample unit so it needs some calculation. Here is the fix.

It also includes a proposal for adding the support of a json config file.