Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I click on my Airplay speaker in Sound settings, it jumps back. I have to restart my Mac in order to fix this problem. enter image description here How can I fix this issue without restarting my Mac?

share|improve this question
up vote 9 down vote accepted

There is command line solution that I've found in Mac Rumors

sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`

Which can assigned to an alias:

alias fixairplay="sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`"

Then this command fixes the issue:

share|improve this answer
Works like a charm. You sir, made my day! – Daniel Aug 30 '14 at 12:18

Mohsen's solution, valid as it is, seems overly complicated. What you need to do is to restart the coreaudio deamon (coreaudiod). Open up the terminal and run sudo killall coreaudiod. As simple as that.

Then if you're having a difficult time memorizing the above, you can add the following line to ~/.bash_profile: alias fixairplay = "sudo killall coreaudiod". From now on you can just use the alias fixairplay.

share|improve this answer

Inspired from Mohsen, but simplified by using pgrep.

sudo kill `pgrep coreaudio`

pgrep's reason for existence is to avoid parsing ps output and is much safer to use when being sent to kill, IMHO cause you are less likely to grab the wrong process info.

Anyway, the accepted answer worked great (Mavericks).

pgrep @ wikipedia (man is waaay too obscure)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.