I'm trying to add sound to an app of mine using FMOD, visual studio 2012, and c++. I got the latest version (1.02) and installed it. Everything seems to work fine but (varibles?) like FMOD_CHANNEL_FREE and FMOD_CHANNEL_REUSE are undefined. Everyone I talked to had this problem and never solved it, and everyone online doesn't seem to have this issue.Another thing I noticed is that the parameters for playSound have switched. For me:
system->playSound(sound->second, FMOD_CHANNEL_FREE, false, 0);
Everywhere else
system->playSound( FMOD_CHANNEL_FREE, sound->second, false, 0);
I followed the installed instructions, included fmod.hpp and fmod_errors.h, uninstalled, re-installed, and google has failed me. If it helps the parameter needed in channel_free spot is a FMOD::ChannelGroup
Any ideas? If you need more code, put a comment (not answer) and I'll comply.