Speaker Icon grayed out and sound doesn't work I have Yosemite 10.10.3 installed on my MacBookPro circa 2011.  At some point, my Speaker icon went gray.  If I go into Settings/Sound/Output, all I see is Digital Out entry and it says The selected device has no output controls as per screenshot below.



If I hold down the Option key (as in this answer) and click on the Speaker icon, I get the following list of devices.  As you can see, there are no Internal Speakers, as one would expect.



So, what am I missing?  I've tried sudo killall coreaudiod as per this question.  It just restarts everything, but changes nothing.  

What else can I try?
Thank you for displaying the audio output settings in System Preferences.
This is very likely physical issue with your MacBook Pro (MBP). Your MBP supports three outputs:

speakers
headphone jack
optical/digital output (using your headphone jack)

When the optical output is activate there is no way to change it to speakers using a macOS setting. As this output doesn't support volume changes your speaker icon is grayed out.
Please check with a flashlight if there is something stuck in your MBP's headphone jack (debris, dust or similar). The optical output setting is triggered using a physical
Carefully try to remove it with a toothpick.

Please report back if you

can see a red light coming out of the headphone jack when playing a song
could solve the issue with a toothpick
used wired headphone with your MBP in the last few weeks.

edit:
I've taken a picture to show how the port can determine whether it's a headphone plug or an optical cable. The optical cable is just a tad longer and triggers the optical output in macOS.: