Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Use at your own risk. No warranties expressed or implied. YMMV. Drive responsibly. Eat healthy.
- #for ZSH, I typically put these in my .zshrc
- function restart_audio() {
- command sudo killall coreaudiod &&
- sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist &&
- sudo launchctl load /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist &&
- echo 'Audio daemon restarted'
- }
- #alternately just run this in your terminal:
- #sudo killall coreaudiod &&
- #sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist &&
- #sudo launchctl load /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist &&
- #echo 'Audio daemon restarted'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement