Last active
November 8, 2025 16:10
-
Star
(162)
You must be signed in to star a gist -
Fork
(14)
You must be signed in to fork a gist
-
-
Save felipecsl/5177790 to your computer and use it in GitHub Desktop.
Restart Mac OS X coreaudio daemon. Useful if you cannot change the audio output device to Airplay.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'` | |
| # or... | |
| sudo killall coreaudiod |
👍
sudo killall coreaudiod
Worked for me, in M2 PRO 14", pc could sense the jack but audio was not coming, got fixed after the command
sudo killall coreaudiod AirPlayXPCHelper
Thank you so much @stefanhinker this is—finally—what fixed the issue for me.
I used to have it saved in my notes. I’m glad I found it here.
sudo killall coreaudiod
Worked perfectly. This issue is so annoying.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@luckman212 , @crunk1
There is a reference in the macOS Release Notes about this, seems like it is no longer possible to kickstart
coreaudiod.https://developer.apple.com/documentation/macos-release-notes/macos-14_4-release-notes#Core-Audio
If you are unable to uninstall blackhole-2ch because the
uninstall_postflightfails you could try changing the postflight command in the following file<homebrew prefix>/Caskroom/blackhole-2ch/.metadata/<version>/<timestamp>/Casks/blackhole-2ch.rbto use a different command or no command at all. Since version0.6.0the new behavior is reflected inblackhole-2chhomebrew package.