mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 09:48:26 +00:00
![]() The "available" side is at the mercy of whatever format the hardware wants, but we control what we queued. Fixes #12403. |
||
---|---|---|
.. | ||
README.txt | ||
simple-playback.c |
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.