Hello, I need a simple open source audio library that can be used to play music and sound effects for C/C++.

The audio files that I use are mp3, midi and ogg. My operating systems are Windows XP and Linux (Ubuntu).

I need that the library be able to play a music and pause it, play another music and pause it, and resume the first music from where it was paused, and allow to set volume and speed.

I want to play musics with loop, or without loop calling a callback function when it finishes allowing to choose another music to play.

No problem if I use six different libraries, one for each file format (mp3, midi, ogg) and operating system (Windows, Linux).

Thanks.

OpenAL coupled with oggVorbis and FFMPEG

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.