Also, those widely-used mini audio jacks aren't particularly good from either a mechanical or electrical point of view, so they often go intermittent.
Try unplugging and re-plugging(?) all the audio jacks a few times - if there's any crud on the connectors it might clear it off .
AA