Files
SDL/examples/audio/03-load-wav
Sam Lantinga 575d9cda6f The parameter to SDL_AppEvent() should be non-const
This allows functions like SDL_ConvertEventToRenderCoordinates() to work without having to copy the event.

Fixes https://github.com/libsdl-org/SDL/issues/10691
2024-09-03 08:18:36 -07:00
..

If you're running this in a web browser, you need to click the window before you'll hear anything!

This example code creates an simple audio stream for playing sound, and
loads a .wav file that is pushed through the stream in a loop.