PDA

View Full Version : Background music



joker40
04-11-2011, 04:33 AM
I have opengl simple simulation and would like to add background music to it. (mp3 maybe). So while program is running music will be playing.
Can anyone suggest on how to accomplish this

ZbuffeR
04-11-2011, 07:26 AM
SDL or OpenAL
http://gpwiki.org/index.php/SDL_mixer:Tutorials:Playing_an_OGG_Music_File

McLeary
04-11-2011, 09:30 AM
I recommend irrKlang (http://www.ambiera.com/irrklang/) . It's very simple and functional audio library.