Sounds more like either its drivers or the jacks might be defective. One way you might try to resolve this is to go to your motherboard manufacturer's website and search for your particular motherboard. See if they have onboard driver updates.
Another way is if you know someone who has a soundcard you can borrow, disable your onboard sound in the BIOS, and install the soundcard.
When it freezes is it only while you are gaming? If not, what else are you doing when this freezing occurs? Does the sound work otherwise outside of gaming?
I was a one of occurance but as i have been having other problems i was curious as to whether this could be tied in to it.
I was on WoW in an instance and on vent at the same time with my guild.
It all went quiet and because i don;t play warcraft with sound anyway i didn't notice, i just thought that they had all gone quiet. When i pressed ctrl to talk and it didn;t make the little noice i thought hmmm, that's funny, checked my volume settings on my headset and on windows and all were fine, checked mic setttings, they were fine. I turned the sound on warcraft on, nothing, tried turning the voice chat on warcraft on, nothing. I tried changing the settings in ventrilo, see if there was something that had been changed in there, nothing. When i clicked ok from the settings it came up with an error message, can;t remember it exactly but it was on the lines of "can't use vent as you want at the minute, your speakers+mic may be in use on another program." I restarted vent and warcraft, see if it was them causeing problems, still did the same, same message and no sound. I had nothing else open other than warcraft and vent and to make sure that wow wasnt interfering i closed that and tried just vent and the same thing. I then opened up itunes to see if another program would work, that wouldn't even start a song because it could't find speakers or anything. I tried plugging in my speakers and unplugging the headset see if the speakers would be found, they weren't. I then poste this post on here bceause i was stumped.
Now another thing happened which worried me a little:
When we had finished the instance i restarted my computer to see if they would be picked up by reboot. Shut down fine, then kind of froze just before the bios beep, so i held down the power button to shut it off completely, was only thing i could do, i tried pressing the reset button before that but nothing.
So it then booted properly, found the bios, beeped, wet to windows and i got the 1 flickering line thing, like if you have a disk in your drive and it is booting from that first, that kind of thing. But rather than saying "press any button to boot from CD drive" which it wouldn't i didn't have a disk in, it said "BOOTMGR is missing, press ctrl+alt+delete" . I did press ctrl+alt+delete, same thing again after it restart.
I shut my system clean down, booted from my vista disk and tried repair, it said windows is corrupt, restart to repair, so i restarted after it had "repaired" , same thing. I decided to install vista on my second drive, see if i could boot from that drive and manually fix or install in the missing file by making my main a slave. I installed vista fine on the other drive and ofcourse because now it had found 2 operating systems it thought i was dual booting so it asked me to pick the OS to boot from. There were 2 options, "Windows Vista" and "Windows Vista ULTIMATE (recovered)". I picked the second and it booted to my main drive wwith everything normal. I ran virus scan+mem test+spyware, malware etc scan over night last night and the scans came up with nothing, memtest came up with nothing, so i don;t have a virus messing around and i don't have RAM chucking corrupt sectors back into my HDD.
This is making me think that it is either my mobo like i said at first or my hard drive.
That is the full thing so far, so no it isn;t just when i game, it was a one of thing, the freezeing was initially just during gaming but then i noticed it happening when i wasn't gaming to test if it was just gaming. Even when just browsing the internet or steam or listening to music or watching a movie or whatever it still froze.