Files
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.
2025-02-27 11:46:56 -05:00
..

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.