Every time I come out of sleep, sound decides comes out of "Internal Speakers" but "Line Out" is high-lighted within my Sound Preference.

wtf

To fix this, I have to open up Sound Preference and un-select "Line Out" then re-select "Line Out".

This is obviously very irritating. Especially since I put my mac to sleep allot.
Has anyone ever encountered this glitch? How did you resolve it?