[sdlsound] About SDL_Sound

Ryan C. Gordon icculus at icculus.org
Tue Sep 15 15:22:53 EDT 2020


On 9/10/20 9:18 PM, Mrc Snm wrote:
> Do you intend to make some kind of SDL_Sound tutorial?
> I'm reading the documentation but I wasn't able to understand things.

The easiest example code is the SDL_sound/playsound/playsound_simple.c 
code, which is a complete piece of code to stream a sound file to the 
audio device.

There is also playsound.c, in that same directory, which is 
significantly more complex, but has a lot more features. Start with the 
"simple" version.

--ryan.




More information about the sdlsound mailing list