summaryrefslogtreecommitdiff
path: root/src/contrib/SDL-3.2.20/examples/audio/02-simple-playback-callback/README.txt
blob: 888ae3497c9fb26761c2734f93b438694803cc44 (plain)
1
2
3
4
5
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.