It is coming from a software problem. Check out if your 'line in' is selected at the bottom left of the screen (the speaker).
You can hear what comes in your computer, but the software is telling your recording thing "don't listen to the line in, but to (the device that is selected)" otherwise, I don't know where it's coming from...