how to read MP3 file?

Sorry to disturb you here but some of you program video games so could you give me a link or a program that can read mp3 files or convert them into wav? I want to program a video game with music, I use Visual C++.Thank you!!

FMOD rocks under Linux and Windows http://www.fmod.org/

You can also try Xaudio : http://www.xaudio.com/

WAV files take up too much hard disk space, just use sound library that has MP3 support.
That way you do not have to do any conversion of your MP3, also get cool sound effects for your game with these libraries.

Library like BASS and FMOD have MP3 support!!!

Originally posted by MP3 player:
Sorry to disturb you here but some of you program video games so could you give me a link or a program that can read mp3 files or convert them into wav? I want to program a video game with music, I use Visual C++.Thank you!!

Originally posted by MPech:
[b]FMOD rocks under Linux and Windows http://www.fmod.org/

You can also try Xaudio : http://www.xaudio.com/ [/b]

Thank you very much! That is exactly what I was looking for. Thank you.

just have a look on my function to play mp3 or wav files –> void musique(), it works well

the prog : http://m.vidalinc.free.fr/opengl/main_prog.cpp

the page : http://www.mathieuvidalinc.com/opengl/opengl.htm

[This message has been edited by mvidalinc (edited 05-13-2002).]

Ff its only for windows goto www.planetsourcecode.com and look up NuclearMedia. I made it it will play almost any type of media file. I use Linux now but if you have any questions contact me(the info is in the source)