Ok, I can now confirm that my issue is a hardware issue and not an os issue. The headphone jack on the laptop has been damaged.

Thanks for everyones help.