Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.49k stars 174 forks source link

HL/C: correctly set the length of wav sounds #1364

Closed MoritzBrueckner closed 2 years ago

MoritzBrueckner commented 2 years ago

Fixes https://github.com/Kode/Kha/issues/1363, it was much easier to fix than I thought at first (C++ noob here). The cause was a simple conversion issue because Float in Haxe is a double and the length is parsed as a float.