Closed stringflow closed 6 months ago
Go version: 1.21.5 Go-SDL2 version: master SDL2 version: 2.28.5 OS: windows Architecture: amd64
The SDL_AudioStreamAvailable function appears not to be wrapped correctly, giving back an error value and not the expected number of bytes available. https://wiki.libsdl.org/SDL2/SDL_AudioStreamAvailable
SDL_AudioStreamAvailable
Hi @stringflow, thanks for reporting this issue! I have pushed a fix to master and v0.4.37 branches. Let me know if it works for you.
master
v0.4.37
Thank you for the quick fix, it works as expected now.
Go version: 1.21.5 Go-SDL2 version: master SDL2 version: 2.28.5 OS: windows Architecture: amd64
The
SDL_AudioStreamAvailable
function appears not to be wrapped correctly, giving back an error value and not the expected number of bytes available. https://wiki.libsdl.org/SDL2/SDL_AudioStreamAvailable