about your problem with Irrklang:
this is "strange":
irrklang::ISound* snd = ...
-> if ( !snd )
snd = irrKlang->play2D("IrrlichtTheme.ogg", true, false, true);
and i don't know if you should drop 'snd' right away; just keep it, you may need it later.
Problems with loading irr file and fps camera.
Re: Problems with loading irr file and fps camera.
I've reduced irrKlang code. Now it looks like this: Also I was using wrong dll file, and now it works perfectly.
Code: Select all
ISoundEngine* engine = createIrrKlangDevice();
if (!engine)
{
return 0; //
}
engine->play2D("../textures/IrrlichtTheme.ogg", true);
engine->setSoundVolume(0.5f);