How to Restart Sound Driver on a Mac

0 min read 131 words

So for some strange reason, your audio has stopped playing through the Macbook Pro speakers, but if you plug in an external audio device, it still works? Or perhaps some other undesirable combination?

If so, you could just try restarting the computer. That usually fixes thing right?

But you have all those million apps open, all in unsaved states.. So rebooting is not the preferred approach.

Try the below option to give your Apple the kick it needs!

How to restart your sound drivers on Mac

Open up a Terminal window, or iTerm if you’re cool, and run the following:

sudo kextunload /System/Library/Extensions/AppleHDA.kext
sudo kextload /System/Library/Extensions/AppleHDA.kext

Sometimes it helps to kill the coreaudio as well..

ps aux | grep 'coreaudio[d]' | awk '{print $2}' | xargs sudo kill 

Did that work?

Tags:
Andrew
Andrew

Andrew is a visionary software engineer and DevOps expert with a proven track record of delivering cutting-edge solutions that drive innovation at Ataiva.com. As a leader on numerous high-profile projects, Andrew brings his exceptional technical expertise and collaborative leadership skills to the table, fostering a culture of agility and excellence within the team. With a passion for architecting scalable systems, automating workflows, and empowering teams, Andrew is a sought-after authority in the field of software development and DevOps.

Tags