The other day, I was trying to uninstall a program and so happened to delete my /Library folder on mac, which I then restored from another machine…
after a restart, some craziness started happening, after looking at activity monitor I found that coreaudiod was going crazy, 130% cpu usage.
Here is what i did to fix it.
Deleted the Audio folder located at [OSX HDD Name]/Library/Preferences/ and create a new one as root in the terminal:
sudo mkdir /Library/Preferences/Audio
then set permissions:
sudo chown -R _coreaudiod:admin /Library/Preferences/Audio