mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
410d0f52e5
When the decoded audio size is exactly multiples of an internal buffer size, the buffer's size becomes exactly zero when being appended. In this case, createBuffer fails and the application crashes. This change fixes this issue by skipping to append a buffer in such cases. Closes #1635 |
||
---|---|---|
.. | ||
internal | ||
mp3 | ||
vorbis | ||
wav | ||
audio_test.go | ||
audio.go | ||
buffersize_js.go | ||
buffersize_mobile.go | ||
buffersize_notmobile.go | ||
export_test.go | ||
loop_test.go | ||
loop.go | ||
otodriver.go | ||
readerplayer.go | ||
writerplayer.go |