How to solve the problem of no sound after Apple Mac recovers from sleep?

Has anyone come across this problem before?The MacBook Pro lifts the lid and returns from sleep, leaving the headphones and speakers silent and rebooting the Mac. Macz shows you a way to get sound without rebooting your computer.
steps
This is a Bug in Mac OS X, where the coreaudio daemon, “CoreAudiod,” has a problem.
1. If you can’t find “Terminal”, click on the magnifying glass icon in the upper right corner of the Mac screen and search.
2. Enter the SUDO killall coreaudiod command at the terminal and enter the password.
3. Just enter your password to log in to the computer. There is no * on the screen, it doesn’t matter.

Read More: