|
|
|
|
|
by SyncOnGreen
624 days ago
|
|
Same can be achieved in a few lines of Lua using Hammerspoon and hs.audiodevice API. local builtinMicName = "MacBook Pro Microphone"
hs.audiodevice.watcher.setCallback(function(e)
defaultMic = hs.audiodevice.defaultInputDevice():name()
if (e == "dIn " and defaultMic ~= builtinMic) then
local builtinMic = hs.audiodevice.findInputByName(builtinMicName)
builtinMic:setDefaultInputDevice()
end
end)
hs.audiodevice.watcher.start()
It doesn't seem fair to pay $20 per year for this. I'd be fine with one time payment. |
|
Once you try it you may find out that for some reason sometimes it will revert back to AirPods mic. I filed a bug report for that, check it out: https://developer.apple.com/forums/thread/763583
Therefore you will have to iron out the edge cases. Are the AirPods considered connected when you switch to your iPhone when using your Mac? Yes the continuity stuff.
Also, you will have to actually maintain that script. That is, you will need to find a place for it where it lives and it’s not lost when upgrading the system etc.
My app is for all the people who don’t want to deal with this and rather pay $2 a month to have it maintained and have someone they can report the issues they have and get them fixed.
Anyway, I made the app for myself and decided to put it on the market to see what happens, so it’s alright to have a competition:) if it happens that this is the better solution I may just drop mine and use it.