btt-services icon indicating copy to clipboard operation
btt-services copied to clipboard

Fix mute status on Big Sur

Open aaronkollasch opened this issue 5 years ago • 0 comments

Hey Andrew,

Your btt automation services have worked really well for me, so thanks for making them available.

I recently switched to Big Sur and found that while the volume was reflected in the control strip icon, mute status was always True.

It seems that AudioHardwareServiceGetPropertyData (and AudioObjectGetPropertyData) need a uint32 rather than a bool (test script in swift), and a couple lines fixed the issue.

This change may not be backwards compatible but I'm posting it just in case anyone else has the same issue.

Aaron

aaronkollasch avatar Apr 11 '21 18:04 aaronkollasch