I have a problem with Soundmanager (class) (wrapper) for fmod in ogre3d engine. Here is the code just in case :
ISoundManager.h If somebody wants I will upload it but I can't upload more than 2 hyperlinks now.
SoundManager.h http://codeviewer.org/view/code:18c9
SoundManager.cpp http://codeviewer.org/view/code:18ca
I have a simple code piece to play the sound :
` SoundManager *soundManagerPtr = new SoundManager;
soundManagerPtr->Initialize();
int mySound1 = soundManagerPtr->CreateStream(Ogre::String("boing.wav") );
int channel1 = 0;
soundManagerPtr->PlaySound(mySound1, headNode, &channel1);
delete soundManagerPtr;`
Everything is fine, sound is loading, but PlaySound() function does not throw any error and does not play the sound either. I was asking on the ogre3d forum but no solution yet.