Advertisement
Guest User

Untitled

a guest
Dec 11th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. #Use at your own risk. No warranties expressed or implied. YMMV. Drive responsibly. Eat healthy.
  2.  
  3. #for ZSH, I typically put these in my .zshrc
  4. function restart_audio() {
  5. command sudo killall coreaudiod &&
  6. sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist &&
  7. sudo launchctl load /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist &&
  8. echo 'Audio daemon restarted'
  9. }
  10.  
  11. #alternately just run this in your terminal:
  12. #sudo killall coreaudiod &&
  13. #sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist &&
  14. #sudo launchctl load /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist &&
  15. #echo 'Audio daemon restarted'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement