View Single Post
Old 03-14-2022, 09:15 PM   #31
michaellau
Junior Member
 
Join Date: Mar 2022
Posts: 1
Default

Quote:
Originally Posted by mgroshong View Post
How do you kill the coreaudio?
Open your terminal and type the command "sudo pkill coreaudiod". It will prompt you for your password before it kills coreaudio.

I've added an alias to my shell config:

alias resetAudio="sudo pkill coreaudiod"

But you can also create your own mini application to do this using the Script Editor application.

In script editor, enter the following

do shell script "pkill coreaudiod" password "blah" with administrator privileges

but replace 'blah' with your password. Then from the File menu, choose Export..., then for File Format choose Application, and for Export As give your application a name you'll remember. I chose "Reset Audio"

This will create a simple application that will reset your audio and then immediately close.

Now whenever I plug in my display link I can simply use cmd+spacebar to open up spotlight search, quickly search for "reset audio" and press return. I don't even have to type the whole thing, spotlight search will usually find it just after "re".

Last edited by michaellau; 03-14-2022 at 09:45 PM. Reason: fix typo
michaellau is offline   Reply With Quote