Simple sound API

Started by
4 comments, last by Clapfoot 17 years, 8 months ago
Hello, I'm wondering what would be a simple sound API I could use in my game. I'm looking for something simple enough where I can literally call loadSound(<sound.wav>) to load sounds and then call playSound(<sound>) to play the sound effect. The only requirement is that it has to have C/C++ sources or windows binaries. Any suggestions? Thanks, -Clapfoot
Advertisement
check openAL
SDL_Mixer would probably suit your needs best.
Or fmod (free for non-commercial use). Slightly more complicated than that (you need to initialize first and update() in the gameloop), but still the easiest API I've ever had the pleasure of working with to-date.
It doesn't get any simpler than PlaySound.
Thanks guys. I ended up using SDL_mixer.. it works like a charm =).

This topic is closed to new replies.

Advertisement