When I plug my (HDMI) display into my laptop, the sound output switches to it. I can switch it back, but is there any way to stop this automatic switch?

(I've found many people complaining, but no answers. A script which reversibly disabled HMDI audio would be acceptable.)


I have multiple devices I connect to my mac and for some they had the same issue.

The work around (or actual fix) is to open 'audio midi setup' in your applications>utility folder and create a 'new aggregate device' or multi-output device' and turn off/on the inputs/outputs sound based on needs.

The plus sign on the bottom left corner. enter image description here

  • 2
    Awesome! Thanks a bunch. Only problem is the sound keys and system audio slider don't work: prntscr.com/feufup . What ways have you found of adjusting volume? I have quicksilver and Karabiner so perhaps I could map some key or keystroke sequence to a script which controls the volume? – tog22 Jun 1 '17 at 22:05
  • ALoha, sorry for the delay. Just click on the configure speakers and you can adjust sliders there, cheers :) – norcal johnny Jun 14 '17 at 20:16
  • Not on 10.11 - the MIDI app looks different from your screenshot on that too. I'll say if it works on 10.12. – tog22 Jun 14 '17 at 23:45
  • 2
    Needing to open the MIDI app just to change volume is crazy. – Matthew Read Oct 8 '18 at 17:18
  • 3
    I don't understand how this is the correct answer. You create an aggregate for multiple sound devices and then what? For me if I connect via Airplay to my AppleTV it still tries to use the speakers connected on that monitor. – believesInSanta Mar 7 '19 at 20:47

I made an app for this. It allows you to pin input/output so it cannot be changed for every particular set of connected devices.

  • Welcome to Ask Different, and thanks for your contribution. Your duplicate answers have been flagged, so I've taken a look. It's good you've disclosed your affiliation with the app, but please be careful with how often you promote it. If users see no other contributions except for ones promoting your software, you may run into problems. All the best. – Monomeeth Oct 21 '19 at 23:33
  • Thanks, I'll check it out! – tog22 Oct 27 '19 at 20:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .