I would recommend taking it in. The same thing happened to me, and when I took my laptop into repairs, the guy at the help desk tried a couple of pref. pane tricks (which I
don't recommend unless you know what you're doing), then sent it to the hardware guys.
There are a couple of things that could be going on--One, the digital optical switch in the headphone jack (the thing that triggers when you insert headphones so your computer knows to send the sound that way) could be stuck. For me, it was a software problem, and they had to replace the logic board.
Try creating a new account and testing the sound in that one. If the problem persists, it's either a hardware or root library sort of problem. If it's fine, then it had something to do with the preferences settings in your other account.