Comment by therein

1 year ago

Especially since OSX is terrible at input/output preferences.

If you alt(opt)+click the sound icon in the menu bar you can easily select your inputs and outputs. I really just want airpods with a mic and no audio quality hit so I can use it in simracing so I don't have to have an external mic arm.

  • It switches back on a whim for the most arbitrary things, though. In Windows the same can happen but I can at least temporarily disable an input if it is doing that.

    Doing some things like disabling an input/output device, or an internal keyboard, or a webcam. Almost impossible. Even if there are some ways, they change so often. Let's say you have two cameras and an application that always picks the internal one. I couldn't find a way to disable the internal camera so that this app would pick the only available one.

    • I "fixed" this with a Hammerspoon snippet that monitors input changes and reverts them:

          mic = hs.audiodevice.findInputByName("MacBook Pro Microphone")
          function handle_deselected(_, type)
            if (type == "gone") then
              if not mic:inUse() then
                mic:setDefaultInputDevice()
              end
            end
          end
          mic:watcherCallback(handle_deselected)
          mic:watcherStart()