Skip to content

Conversation

@aaronkollasch
Copy link

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

isMuted always returned true in Big Sur
Fixed by switching from BOOL to UInt32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant