Seems like there's something wrong with your headphone jack. It might not be connected correctly inside the computer, is my guess.
It was just working before I took my headphones out