0
0

Playing music files through FMOD, using the automatic buffer size, produces a large amount of cracking and popping on various machines. Apparently, this is a buffer underflow, because if I increase the buffer size to 250, it goes away on most machines, but that produces an unacceptable delay in playing the effect. This has happened on all NT systems (including those running at 700Mhz), and all Windows 95 and Windows 98 machines under 500Mhz.

This seems to happen whether the file is streamed or played as a sample.

Couldn’t there be some reporting of a buffer underflow, that would give us a chance to reinitialize with a larger buffer? Or, better yet, could it automatically detect buffer underflow and adjust the buffer accordingly? Since this happens on such a wide variety of machines, all I can think to do is set a very large buffer for all machines, or provide a tuning program with our game so people can adjust the buffer size themselves (not a very nice solution).

  • You must to post comments
0
0

Hi, on my AMD 233 (Win98SE), my AMD 450 (Win2k) and my AMD 1Ghz (Win2k) I have never had any problems using a buffer of 50 ms when playing up to two streaming mp3’s.

It is possible to set the fmod’s buffer size (FSOUND_SetBufferSize or something like that).

You could add a slider to your options dialog so users could manually increase it.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.