deshan
16-12-2009 04:37:34
Hi All I am just start to using ogreoggsound. Done build the ogreoggsound but getting a runtime error.
I have done following things, Could you please tell me what else i missed.
I am getting a run time error, have i missed any?
help please
Expresssion : ms_singleton();
I have done following things, Could you please tell me what else i missed.
1. I have copied OgreOggSound_d.dll to OgreSDK\bin\debug
2. added Plugin=OgreOggSound_d to Plugins.cfg
3. root = Ogre::Root();
root.loadPlugin("OgreOggSound_d");
4. mSound = new OgreOggSound::OgreOggSoundManager();
mShotSound = mSound->createSound("_sound", "1vs0_JuniorGroove.ogg", false, true);
hNode = mSceneMgr->getRootSceneNode()->createChildSceneNode();
hNode->attachObject(mShotSound);
5. bool frameStarted(const FrameEvent &evt)
{
...
mSound->update(evt.timeSinceLastFrame);
}
I am getting a run time error, have i missed any?
help please