Cross platform sound API for games?

Viewed 30795

Is there an API only for sound?

APIs such as Allegro or SDL provide too much for my needs. I simply need a library that can do something like:

InitSound();
Sound *door = LoadSound("door.wav");
PlaySound(door,volume);

It would also be great if it could support compressed formats such as Vorbis or MP3.

11 Answers
Related