could be the audio chip has failed. mine did that, sounded like garbage and there was nothing i could do. ended up buying a soundcard from staples and disabling the onboard sound - now it works like a charm.
do you have a sound card in another computer you can pull out to test? otherwise you can get them for like 20 bucks.....