To simplify things a bit. A Line out should only go to a line in, a mic in should only have a mic plugged into it, and a headphones out is only made for plugging in headphones. Don't missmatch things like this or you could do damage to your gear, and almost inevetabley get unwanted noises.