This suggestion worked for me.
Background: os 10.10.3 -- my sound was working fine: sound preferences displaying these devices: internal speakers, line out, line out (yep, twice), digital out, and a logitech USB headset. I had the internal speakers selected and have been using the back green...