Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AutoMuteOnSleep #267

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

devnoname120
Copy link

No description provided.

– Mute on `systemWillSleep` as well. This makes sure that sound doesn't play for a split second on wake. Also makes it more robust since we're muting all devices twice (if one of the two events doesn't trigger properly for example).
– Set the volume to `0`, and only actually mute if setting the volume to 0 failed. It's more convenient to increase the volume starting from 0 in my experience than restoring the previous sound level.
@devnoname120 devnoname120 changed the title Add AutoMuteOnWake Add AutoMuteOnSleep Apr 7, 2022
@devnoname120
Copy link
Author

Request review from @cmsj

@devnoname120
Copy link
Author

@cmsj Bump

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.

None yet

1 participant