0
0

Hi all,

I have implemented FMOD into Ogre recently. However, when i tried to play a sound i recieved an error stating that the file could not be found. (Error 23) I went into debug mode and check each step. The file path is corrently identified and the file is also there. Any ideas why do I still get the error 23?

It appears that it is something to do with my &sound.

FMOD::Sound* sound;
result = system->createSound((const char *)newSoundInstance, FMOD_3D | FMOD_HARDWARE, 0, &sound);

Thank you so much!

  • You must to post comments
0
0

If it says it can’t find the file it’s probably because it’s really not in the place it’s trying to read it from. Did you check if it is in the proper directory? Did you try using an actual directory address to test if it works?

  • You must to post comments
0
0

1) Are you using the fmodex version provided by ogre? Otherwise there might be an imcompatibility with FMOD_CREATESOUNDEXINFO (so this structure seems not to have changed for over a year now)

2) Are you using unicode / are those file unicode?

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.