Possible Bug in createSound -- OgreOggSound 1.16

Chas

09-04-2010 14:05:17

Possible bug in OgreOggSoundManager::createSound (const std::string&,const std::string &,bool stream,bool loop,bool preBuffer,Ogre::SceneManager * scnMgr = 0);

When I pass my scene manager pointer to createSound, I get this:

OGRE EXCEPTION(2:InvalidParametersException): 'name & fileName & sceneManagerName' parameters required when constructing an OgreOggISound. in OgreOggSoundFactory::createInstance at OgreOggSoundFactory.cpp (line 93)
OGRE EXCEPTION(7:InternalErrorException): OGRE EXCEPTION(2:InvalidParametersException): 'name & fileName & sceneManagerName' parameters required when constructing an OgreOggISound. in OgreOggSoundFactory::createInstance at OgreOggSoundFactory.cpp (line 93) in OgreOggSoundManager::createSound() at ogreoggsoundmanager.cpp (line 583)

When I pass 0 or nothing, it works fine.

FYI Ogre 1.6.4 on Linux, OpenAL 1.1 using ALSA

Thanks

stickymango

10-04-2010 21:12:44

Hmmm, thats embarassing :oops:

Thanks for that, sorted.