Best solution around this so far for me is restarting Coreaudio serviecs. Found this code on Github. Might be useful >>
https://gist.github.com/felipecsl/5177790
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`
OR
sudo pkill coreaudiod