mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 17:37:39 +00:00
![]() 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. |
||
---|---|---|
.. | ||
multiple-streams.c | ||
README.txt |
This example code loads two .wav files, puts them an audio streams and binds them for playback, repeating both sounds on loop. This shows several streams mixing into a single playback device.