When i load my samples from a fsb-file I can’t make the fsb list file sample defaults to work.
My list file looks like this:
Fest i gar kvall.ogg, fsound_loop_normal
Both samples play but the first isn’t looping and the second isn’t in 3D.
I open the fsb-file with:
system->createStream("soundbank.fsb", NULL, 0, &soundBank);
Is this wrong?
If I set NULL to any FMOD_MODE it overrides whatever default is set, but then again, nothing is set from the list file…
How is each sample in my fsb-file supposed to get it’s listed sample defaults?
- @nders asked 11 years ago
Ok. No mixing of 2D & 3D then. I’ll try two different banks next.
Swaping file names in the list file made no difference.
In the API documentation (FMOD_MODE), it says that FMOD_2D and FMOD_HARDWARE is default. Why would it be software then?
If I open the fsb with createSound, the ogg opens fine (still no loop) but the engine.wav samplerate is lowered to about half or more. I tried setDefaults with no luck. Could this have something to do with the 2D/3D mixup and velocity calculations? It’ll probably be solved when i split the bank.
Anyway, say that all list file defaults work fine. Should I set the FMOD_MODE to NULL in createSound?
Thanx for all help.
Most problems are solved, but I don’t quite understand what you mean with:
You should check some of the other threads that link to a fixed version.[/quote:3w0nwut8]
Could you please explain this a little?
Please login first to submit.