Clean the audio jack. A dirty audio jack cannot make proper contact with the wired audio device resulting in loss of sound in the form of static noise. Check if your audio jack is corroded.