Archived

This topic is now archived and is closed to further replies.

Sabonis

game music

Recommended Posts

Sabonis    169
how would i implement game music? is there a way to open up an mp3 or is there other processing involved? "Only two things are infinite, the universe and human stupidity, and I''m not sure about the former." - Albert Einstein (1879-1955) That is so very true...

Share this post


Link to post
Share on other sites
Tai-Pan    122
why not? I havent tried FMOD..is it good?

"Those who follow the path of the warrior must be ready to die, to stand for their convictions, live for one´s convictions, die for one´s convictions"

Share this post


Link to post
Share on other sites
superpig    1825
FMOD is damn good. It's very cross-platform too (includes support for things as varied as PS2 and XBox, IIRC).

To play an MP3 with FMOD (function call by function call):

Init FMOD
Load the MP3 file
Play the MP3 file
Shutdown FMOD

Yes, that's 4 calls to play an MP3.

DirectShow is one of the more painful systems you could ever hope to use - I'd avoid it unless you're playing movies (in which case, it's that or VfW).

Superpig
- saving pigs from untimely fates, and when he's not doing that, runs The Binary Refinery.

[edited by - Superpig on March 16, 2003 10:32:09 AM]

Share this post


Link to post
Share on other sites