0
0

My schedule is too tight that could not be delayed by setting sound effects.
Please help me.

I need to add a sentence
stream[0]=FSOUND_Stream_OpenFile(“texture\music\music_16.mp3”,FSOUND_16BITS|FSOUND_STEREO|FSOUND_LOOP_NORMAL,0);

and

FSOUND_Stream_Play(FSOUND_FREE,stream[0]);

in my program.
deleting the last one or the both will let the program dump .

I have already tested it on several differenct PCs.

And it also dumps when
about 30 of similar code like this
samp[SC_NINJA_DIE]= FSOUND_Sample_Load(FSOUND_FREE, “sfx\ninja_die.wav”, FSOUND_NORMAL, 0);
are run.

How can i manage this one. And what’s the explanation for my first problem?
Thank you brett

  • You must to post comments
0
0

I have the new clues.
I was using Fmod v3.5 with VC++6.

When using v3.4, my machine will dump, but it works in other machines.

After changing to v3.5, all other machines dump while mine works properly.

I swear everything in the code is same.
What are the different are the lib and dll.
v3.5 dll is kept in the application directory.

  • You must to post comments
0
0

U are Using the Release Version?
else way its no wonder that its fails to
run on other pcs…

Devil

  • You must to post comments
0
0

I am using the release configuration.

  • You must to post comments
0
0

Thank you brett.

I have figure out the reason. Yes. It’s not simply related to fmod.
But remarking the code of fmod works. So I suspected it.
The real cause should be some directdraw routine that is easy to crash, and I have no idea how to fix that part. Any advice to keep them work more peaceful?

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.