Skip to content

Conversation

@aonez
Copy link

@aonez aonez commented Nov 29, 2024

If the audio device fails to set volume or mute:

  • Check if the device is a possible display (connected via HDMI or DisplayPort)
  • Check if BetterDisplay app is installed
  • Execute the desired volume/mute option in BetterDisplay

Why:

Some display audio devices (if not all) can't be controlled directly with macOS volume options or MultiSoundChanger. BetterDisplay makes this possible.

When controlling the volume of a multi-output device BetterDisplay magic is not applied, so this implementation solves this scenario.

waydabber/BetterDisplay#2194

Includes:

The whitelist_rules configuration key has been renamed to only_rules on version 0.41.0 (Nov 8, 2020) https://github.com/realm/SwiftLint/releases/tag/0.41.0

The whitelist_rules configuration key has been renamed to only_rules on version 0.41.0 (Nov 8, 2020)
https://github.com/realm/SwiftLint/releases/tag/0.41.0
If the audio device fails to set volume or mute:

- Check if the device is a possible display (connected via HDMI or DisplayPort)
- Check if BetterDisplay app is installed
- Execute the desired volume/mute option in BetterDisplay

Why:

Some display audio devices (if not all) can't be controlled directly with macOS volume options or MultiSoundChanger. BetterDisplay makes this possible.

When controlling the volume of a multi-output device BetterDisplay magic is not applied, so this implementation solves this scenario.

waydabber/BetterDisplay#2194
@aonez
Copy link
Author

aonez commented Nov 29, 2024

By the way maybe you can bump the version number since your fork has so many changes it deserves it. Possibly v1.2 is a good option.

@aonez aonez mentioned this pull request Nov 29, 2024
BetterDisplay CLI commands hang a while and file if the application is not running. Using DistributedNotificationCenter instead.
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