Ryan C. Gordon f7cadcba84 examples: Use SDL_GetAudioStreamQueued, not SDL_GetAudioStreamAvailable. 1 miesiąc temu
..
README.txt bb3c5b4f3a Fix multiple occurences of typo "an simple" to "a simple" 3 miesięcy temu
simple-playback.c f7cadcba84 examples: Use SDL_GetAudioStreamQueued, not SDL_GetAudioStreamAvailable. 1 miesiąc temu

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 a 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.