mirror of https://github.com/libsdl-org/SDL.git
This allows functions like SDL_ConvertEventToRenderCoordinates() to work without having to copy the event. Fixes https://github.com/libsdl-org/SDL/issues/10691 |
||
|---|---|---|
| .. | ||
| README.txt | ||
| load-wav.c | ||
README.txt
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.