It's not the jack for the guitar as it affects all audio, possibly the headphone jack, though. I will try cleaning that and if that changes anything.
The problem started happening after I accidently stepped on my Guitarport. Which makes me think it's most likely a hardware issue.