Last active
January 4, 2016 15:08
-
-
Save adrn/8638334 to your computer and use it in GitHub Desktop.
OS X Mavericks has some audio issues on sleep/wake.
This file contains 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
#!/bin/bash | |
# see: https://discussions.apple.com/thread/5482053?start=45&tstart=0 | |
# | |
# 1) Create a bin path in your home directory (mkdir ~/bin) | |
# 2) Add this bin to your path in your rc or shell profile (e.g., export PATH=$PATH:${HOME}/bin) | |
# 3) Copy and paste this gist into a file in ~/bin (e.g., curl -vs https://gist.github.com/adrn/8638334/raw 2>&1 > ~/bin/fixaudio) | |
# 4) If your audio ever stops working, just execute 'fixaudio' at the command line. | |
sudo kextunload /System/Library/Extensions/AppleHDA.kext | |
sudo kextload /System/Library/Extensions/AppleHDA.kext |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment