0
0

Hello.
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:
[code:2sfh502n]
Fest i gar kvall.ogg, fsound_loop_normal
engine.wav, fsound_hw3d
[/code:2sfh502n]
Both samples play but the first isn’t looping and the second isn’t in 3D.
I open the fsb-file with:
[code:2sfh502n]
system->createStream("soundbank.fsb", NULL, 0, &soundBank);
[/code:2sfh502n]
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?

/Anders

  • You must to post comments
0
0

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?

  • You must to post comments
0
0

Thanx for all help.
Most problems are solved, but I don’t quite understand what you mean with:
[quote:3w0nwut8]
You should check some of the other threads that link to a fixed version.[/quote:3w0nwut8]
Could you please explain this a little?

/Anders

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.