206dcdedf1
git-subtree-dir: external/SDL git-subtree-split: 4d17b99d0a1c33c5257063b098f883c669ade40b
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.