SDL/examples/audio/01-simple-playback
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
..
README.txt examples: Print a description of the program to the console on startup. 2024-07-30 12:23:07 -04:00
simple-playback.c The parameter to SDL_AppEvent() should be non-const 2024-09-03 08:18:36 -07:00

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
generates a sine wave sound effect for it to play as time goes on. This is the
simplest way to get up and running with procedural sound.