Hi HEJSURT,
Never Fear DellStorm Isn't Here!
I have had this same issue! (As long as the X-Fi sound card you are talking about is External) then the same fix will work! If not, then I hopefully will be able to solve that too!
I have noticed with my EXTERNAL X-Fi Sound Card, that when the 3D switch on the side was turned ON I had the same result as you, horrible noises and even the card failing to recognise! turning the switch off, so I did not get the 3D sound type effect actually fixed a lot of my problems. But this only applies to External Sound Cards.
First off 32bit vs 64bit!
Drivers, Drivers, Drivers, These horrible little critters cause more problems than they solve, and in the case of the 32 bit to 64 bit, all the drivers have to be CHANGED so that they can communicate with the operating system which is now a 64bit operating system!
The good side is you can have more Ram and slightly faster run times. The bad side is that drivers from 32bit versions were not carefully tested when they just *Made Them* 64bit compatible. This means there may be issues with the drivers (I'm talking as if your card is pre 2007) After 2007 / The Vista pandemic these drivers issues were solved. So Why am I ranting on about drivers?
Drivers are what they are, literally a robot sits in the Sound card seat and drives on the motherboard road. If they are really bad drivers!! They deliver Really bad results!
Make sure you have BOTH, the newest 64bit drivers for your Sound Card and for your Motherboard!.
Windows drivers often get replaced because manufacturers find flaws built in to them, Happens all the time!
The third thing I will suggest (if its possible!) is that you try your speakers / earphones in a different 3.5mm Jack at the back, Say for instance the Rear (I think it is black on the 5.1 Enabled sound cards) Or the Earphones 3.5mm Jack port, If again, it is the external. This sometimes helps by changing the channel that the sound is coming through!
Last But Not Least, Its The Bypass Plan
Sorry To Say, that if you tried all my suggestions and any suggestions that others may post about sound card issues, it may be worth thinking about either reverting back to 32bit If You Can! Or replacing the sound card (Ebay Works Wonders) And replacing it with a newer version of the card.
At Least one of these methods I have mentioned is guarenteed to work! Lets hope the best one works for you.
Good Luck & Happy Gaming,
Regards,
DellStorm