SDL/examples/audio/02-simple-playback-callback
2025-01-21 14:00:54 -08:00
..
README.txt Fix multiple occurences of typo "an simple" to "a simple" 2025-01-21 14:00:54 -08:00
simple-playback-callback.c Fix multiple occurences of typo "an simple" to "a simple" 2025-01-21 14:00:54 -08: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 a simple audio stream for playing sound, and
generates a sine wave sound effect for it to play as time goes on. Unlike
the previous example, this uses a callback to generate sound.