0
0

I think I have stumbled on a problem with FMOD 3.7 on P4 CPUs with Hyperthreading enabled.

I found it playing around with the Visual Basic Sample application, and reproduced it myself in C.

When I stream an MP3 with the FSOUND_Stream interface, it plays fine. Then when I load an MP3 into memory with FSOUND_Sample_Load, the stream output starts to crackle and bleep.

It only happens with the sample and stream being MP3, I played around with combinations of WAV, MP3, and OGG (I didn’t bother with WMA/ASF) and was unable to reproduce the problem.

I tried to reproduce the error on my PC with Hyperthreading enabled and the problem occured, I disabled Hyperthreading and it stopped, then I tested on my other older box P4 (Non-HT), and it also didn’t occur.

So, what do you think?

  • You must to post comments
0
0

Well my dev machine is a P4 w/hyper-threading and I haven’t noticed any problems. Can you post some code that reproduces the bug?

  • You must to post comments
0
0

Okay, here is a binary & c source for it demonstrating the error.

[url:149k2qmq]http://heffo.quakesrc.org/fmodtest.zip[/url:149k2qmq]

I noticed that if I use a teeny tiny MP3, about 1sec for the sample, the glitch doesn’t occur, but it does for a 30sec sample.

You will need to supply your own MP3s for the compiled exe, just put a stream.mp3 and a sample.mp3 in the directory with it. I use a song for stream.mp3 and a short audio clip (> 30sec) for sample.mp3

  • You must to post comments
0
0

Cheers for that. What sound card are you using? Have you got the latst drivers?

  • You must to post comments
0
0

I am running an Audigy Platinum with drivers versioned 5.12.1.383 (11/04/2003)

It also happens with my onboard SoundMAX 6ch setup.

And the rest of my system for refrence
Pentium4 3Ghz HT
Asus P4C800 Deluxe Mainboard
i875P Chipset
Onboard 3Com Gigabit 3C940 Ethernet
Promise PD20378 SATA-150/UDMA-133 RAID Controller
Leadtek GeForceFX 5900 Ultra (256Mb, 8x AGP, Det 45.23)
2x512Mb Corsair DDR400 Matched Pair
2x120Gb Segate SATA HDDs in RAID
1x60Gb Maxtor HDD
Sony DRU-510A DVD+-RW
Pioneer 16x DVD
CrystalFontz CF633 USB LCD Unit

  • You must to post comments
0
0

Ok, reproduced and fixed for the 3.71 release which will be going out in a couple of days.

Good catch Heffo! 😀

  • You must to post comments
0
0

Oh cool, and here I was starting to think my motherboard was an utter lump of crap!

Glad I could help 8)

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.