0
0

I try to open a FSB file, with three samples inside, but my program always crash. I’m using the following code :

[code:209jbsfd]
FSOUND_STREAM *poStream;
poStream = FSOUND_Stream_OpenFile("Sound/test.fsb", FSOUND_LOOP_NORMAL, 0);[/code:209jbsfd]

Anybody got an idea ?

  • You must to post comments
0
0

Do you check the return value of FSOUND_Stream_OpenFile?

[code:29ubdryg]
FSOUND_STREAM *poStream = FSOUND_Stream_OpenFile("Sound/test.fsb", FSOUND_LOOP_NORMAL, 0);
if (!poStream)
printf("Error %d", FSOUND_GetError());
[/code:29ubdryg]

  • You must to post comments
0
0

Ok, it’s fixed. I had messed up with upgrading my fmod version, and was still using the 3.62 version (which doesn’t support FSB on all platforms…).

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.