mirror of https://github.com/libsdl-org/SDL.git
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. |
||
|---|---|---|
| .. | ||
| README.txt | ||
| 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.