You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I found that one of my hammerspoon scripts failed to function properly.
local input_devices = hs.audiodevice.allInputDevices()
for index, value in ipairs(input_devices) do
if value ~= nil then
value:setInputMuted(false)
end
end
Previously, the above script only mute the input of my Bose QC35 headphone. However, recently, it also mutes the output of the headphone. I'm super confused of it happens. It happens to my Bose QC35 headphone as well as Sony headphones on two of my laptops. But it works properly for the mac built-in input and output device.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Recently, I found that one of my hammerspoon scripts failed to function properly.
Previously, the above script only mute the input of my Bose QC35 headphone. However, recently, it also mutes the output of the headphone. I'm super confused of it happens. It happens to my Bose QC35 headphone as well as Sony headphones on two of my laptops. But it works properly for the mac built-in input and output device.
Any help is highly appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions