Skip to content

Instantly share code, notes, and snippets.

@garyharan
Created March 17, 2020 20:02
Show Gist options
  • Save garyharan/548d1660fba47c0f6cfcf253784b5e15 to your computer and use it in GitHub Desktop.
Save garyharan/548d1660fba47c0f6cfcf253784b5e15 to your computer and use it in GitHub Desktop.
Restart all core audio when airpods do not work
# Instead of rebooting system
# If audio has half going through speakers and half going through headphones.
ps aux | grep 'coreaudio[d]' | awk '{print $2}' | xargs sudo kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment