mirror of https://github.com/libsdl-org/SDL
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
659f2f4b04 | 2 months ago | |
---|---|---|
.. | ||
README.txt | 4 months ago | |
simple-playback-callback.c | 2 months ago |
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. Unlike the previous example, this uses a callback to generate sound.