mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01: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.
4 lines
192 B
Plaintext
4 lines
192 B
Plaintext
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.
|