PDA

View Full Version : sound in console



subflood
08-23-2004, 07:11 PM
How would I play an mp3 or any other sound format in a console app so that the music plays in the background while the program is still running normally like it would without any music playing? btw I'm trying to do this using the C language.

glUser3f
08-23-2004, 07:16 PM
Hmm, it would be easier to help if we knew what APIs you use, there is no way to play MP3 files using the standard library.

One option would be using FMOD:
http://fmod.org/

Download the SDK, one of the examples does exactly what you want.

subflood
08-23-2004, 07:27 PM
i don't know what api to use myself. I just wanted something easy and fast.

thanks for the link to fmod I'll check it out.