0
0

Hi

Have this problem since the FMOD Ex ver 4.00.00.
With all .IT SONGS loaded have a stuttering but the problem is present
only with FMOD Ex (have played some .IT with modplug tracker, winamp, and others without stuttering)

I load the songs with createSound without FMOD_CREATESTREAM flag(load into memory).
Have tried to load with FMOD_CREATESTREAM flag and createStream funcion and the results are:
1) if leave stream buffer size to default (16384) the stuttering is low (1 to 10% max)
2) if set stream buffer size to 65536 have low stuttering (1 to 5% max)
3) if set stream buffer size > 65536 have high stuttering (up to 70-80%)

My Audio is integrated on the motherboard and is:
Realtek HD on ASUS P5NE-SLI with last audio drivers version

at final is problem of FMOD Ex or of my system, i can fix it?

Bye

  • You must to post comments
0
0

What OS are you on? XP or Vista?
If you could write to suppot@fmod.org i’d like to run some tests, it sounds a bit like your OS is not handling small sleeps well.

  • You must to post comments
0
0

have you looked at the thread stuck to the top of this forum about windows configuration issues.

  • You must to post comments
0
0

Hi

i already use the windows configuration issues, but have always the problem.

Other solution for fix the problem ?

  • You must to post comments
0
0

OK have fixed it.

  • You must to post comments
0
0

Can you tell us in case someone else has the same problem?

  • You must to post comments
0
0

Hi Brett, sure

Simply have used one of the following System::setDSPBufferSire before System::Init :

System::setDSPBufferSize(2048, 2)
System::setDSPBufferSize(2048, 4)
System::setDSPBufferSize(4096, 2)

Have also tried to using:
System::setDSPBufferSize(2048, 1)
System::setDSPBufferSize(4096, 1)
but these calling fails.

Bye :)

  • You must to post comments
0
0

use a lower block size, and larger ‘numblocks’ instead of increasing the buffersize. If the buffersize is too big it will make the granularity very large for commands resulting in noticable steps for things like pitch or volume commands.

  • You must to post comments
0
0

No, why if use for example a System::setDSPBufferSize(1024, 10) have always stuttering, low but present, while with System::setDSPBufferSoze(2048, 2) work OK.

A question the "numbuffers" must be minumum 2 ??? why is pass 1 the function fails.

  • You must to post comments
0
0

They are not the same. 102410 is 10240 and 20482 is 4096. Use 1024*4 instead is what i’m saying. It can’t be any different, the buffer would be exactly the same size except the mixer is updated in smaller chunks.

It is a double buffer by minimum, you can’t use less than 2 buffers to get any sort of consistent streaming without glitches (same in graphics)

  • You must to post comments
0
0

OK thx for the report about numbuffers, but i have tried 10244 with setDSPBufferSize and have stuttering, with 20482 (very low stuttering or no 0-1%) with 4096*2 no stuttering (0%).

  • You must to post comments
Showing 10 results
Your Answer

Please first to submit.