FMOD Decides it doesn't want to...
I've decided to use FMOD after deciding I don't like OpenAL (don't ask) and twas all going fine, but sometimes it just decides not to load the sound files.
This snippet works, but only sometimes:
Code:
result = fmod_system->createStream ("\\Condensed.mp3", FMOD_DEFAULT, 0, &sound);
if (result != FMOD_OK) {
cout << "\tFAILED\n";
exit (1);
}
It works fine (Condensed.mp3 is in the same directory) but sometimes it just fails. If I change the file I want to load - even when it's in the same place - it sometimes doesn't work. The funny thing is it always works if I place the file in the root directory (C:\\ for example).
Anyone have a similar problem?