I’m considering ordering a license to this fabulous library but am experiencing problems while streaming both WAV and MP3 files (the only formats I’ve tried so far).

Using the following code sequence:

FSOUND_Init(44100, 32, 0);

pStream = FSOUND_Stream_OpenFile(pData, FSOUND_LOOP_NORMAL | FSOUND_LOADMEMORY, fileLength);

Now the above works as it should, loading the entire mp3 or wav in RAM (I have 256Mb on a P3-450). The only problem is an occasional 3-7 seconds of crackling noise occuring once during each loop. It happens at a different location most of the time. I’m using a fullscreen DirectDraw application and do notice a frame rate drop during the clicking/snapping part. The sound keeps playing, as the noise seems to overlap it. The original sound files are fine.

I’ve tried both the current dll and the 3.61 pre-release dll I found in another thread. Both have the same effect. I’ve also tried specifying different bit rates and setting to mono, etc. I use an SB Live! card and am running Win2000. I’ve also tried streaming directly from disk, but that caused a visual stutter at every read (especially with a 1k buffer).

Any idea what might be causing this and how to fix it? It’s the only issue preventing me from forking out the money for a commercial license.

EDIT: I did more testing and noticed that, during the “crackling moment”, there’s often some playback stutter, a little disk activity, and the occasional half second system lag (the sound keeps playing, but the app freezes for up to 0.5 seconds). That’s with 200Mb free and the 4Mb sound pre-loaded in RAM.

I would appreciate any advice. Thanks.

  • You must to post comments

Thanks Brett,

I just found out that the problem is non-existent after uninstalling Norton Antivirus 2003. Unfortunately, I got your reply just afterward, so I can’t test your suggestions without reinstalling that norton beast. Have memory-resident virus scanners ever been an issue with fmod? I’m very curious as to any known issues and workarounds. I even had the crackling noise playing an s3m, with the virus scanner in.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.