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.
sdl/examples/audio/03-load-wav
Ryan C. Gordon f7cadcba84
examples: Use SDL_GetAudioStreamQueued, not SDL_GetAudioStreamAvailable.
The "available" side is at the mercy of whatever format the hardware wants,
but we control what we queued.

Fixes #12403.
2 months ago
..
README.txt Fix multiple occurences of typo "an simple" to "a simple" 3 months ago
load-wav.c examples: Use SDL_GetAudioStreamQueued, not SDL_GetAudioStreamAvailable. 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 a simple audio stream for playing sound, and
loads a .wav file that is pushed through the stream in a loop.