Ryan C. Gordon
483d1c36ed
comments: Fixed a few typos I ran into in the audio code.
2025-04-22 19:40:40 -04:00
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
Ryan C. Gordon
bbd4eeb287
examples/audio/04-multiple-streams: Note about web browser audio in README.
2024-12-11 14:13:52 -05:00
Ryan C. Gordon
3f425b6f20
examples/audio/04-multiple-streams: Patched to compile on Visual Studio.
2024-12-11 13:25:43 -05:00
Ryan C. Gordon
1fbb8e1824
examples/audio/04-multiple-streams: Remove drag-and-drop support.
...
I'm going to reuse that code for an actual drag/drop example later, but for
simplicity and accessibility of the examples, this is just going to load two
wavs and loop them, so you get the music with a sword-clinking sound mixed
over it.
2024-12-10 23:10:43 -05:00
Ryan C. Gordon
10e2ce9ba4
examples: Added audio/04-multiple-streams
2024-11-24 15:05:44 -05:00