Playing mp3 with Fmod

Apr 10, 2011 at 4:36pm
I would like to create an as simple as possible console program that just plays a certain mp3. I'm using the mingw compiler (in Dev-C++). Fmod is probably the best option, but as my C++ experience is little, I'm not sure where to start.

So far, I've downloaded the latest Fmod Ex API and loaded the lib file (libfmodex.a) into the IDE. My only script in the program is main.cpp. I got this code from the official fmod tutorial:

____
#include "inc/fmod.h"

FSOUND_SOUND* handle;
____

...that's where it already gives an error. There is no "FSOUND_SOUND" in the fmod.h file. I've read that the tutorial is outdated and haven't been able to find a working code on the internet.

Any advice on how to play mp3 (preferably with fmod) is appreciated!
Last edited on Apr 10, 2011 at 6:25pm
Topic archived. No new replies allowed.