go to device manager, are there anything with yellow question marks? I had an audio problem that I found in the microsoft tab when reinstalling windows xp. there was a driver missing for the microsoft audio. I would look here.
also if you click on realtek ac 97 audio, in properties, it should say "enabled" and "there is no problem with this device" you can also test your sound in control panel.