Skip to content

Instantly share code, notes, and snippets.

@1951FDG
Last active July 23, 2024 12:10
Show Gist options
  • Save 1951FDG/c427d318165e81e358c3 to your computer and use it in GitHub Desktop.
Save 1951FDG/c427d318165e81e358c3 to your computer and use it in GitHub Desktop.
Reset audio settings
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist
sudo rm -rf /Library/Preferences/Audio/com.apple.audio.SystemSettings.plist
sudo rm -rf /Library/Preferences/Audio/com.apple.audio.DeviceSettings.plist
sudo rm -rv /Library/Preferences/com.apple.audio.DeviceSettings.plist
sudo rm -rv /Library/Preferences/com.apple.audio.SystemSettings.plist
sudo rm -rv ~/Library/Preferences/com.apple.audio.AudioMIDISetup.plist
sudo rm -rv ~/Library/Preferences/ByHost/com.apple.MIDI.0016174ee065.plist
sudo rm -rv ~/Library/Audio/MIDI Configurations/Default.mcfg
@dantaeusb
Copy link

dantaeusb commented Jan 22, 2024

Instead of /Users/administrator/ you'll probably need to use ~/, so sudo rm -rv ~/Library/Preferences/com.apple.audio.AudioMIDISetup.plist
Yes, it seems to be relevant 11 years later. I've had constant coreaudiod crashes on M1 mac, after doing that haven't seen a crash report for 5 days already.

@ADeshwaal
Copy link

Hello, the first line is giving trouble it says :
"Unload failed: 5: Input/output error
Try running launchctl bootout as root for richer errors." idk wtf is this can u help me

@KaushikShee
Copy link

Hello, the first line is giving trouble it says : "Unload failed: 5: Input/output error Try running launchctl bootout as root for richer errors." idk wtf is this can u help me

same with me also

@Thanatos9520
Copy link

@KaushikShee @ADeshwaal I have the same error,. do you can resolve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment