Could be the internal audio socket that's having a problem. That means a motherboard issue cause the audio socket is soldered to the motherboard and cannot be replaced. But here's a good solution, just buy a iMic. It's a USB dongle ($25) that gives you IN/OUT audio ports with a better audio quality.