mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 14:15:55 -06:00
[PR #96] [MERGED] Changed mute command from '0 speaker volume' to 'true' mute (0x8D) #1044
Labels
No labels
Status: Abandoned
arm64
beta
beta
bug
done
duplicate
enhancement
feedback needed from reporter
in progress
invalid
investigating
known Issue
monitor Issue
pull-request
translation
unable to reproduce
unreleased
x86
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/MonitorControl#1044
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MonitorControl/MonitorControl/pull/96
Author: @robertbressi
Created: 5/18/2019
Status: ✅ Merged
Merged: 5/18/2019
Merged by: @the0neyouseek
Base:
master← Head:true-mute-command📝 Commits (2)
707385dChanged mute command from '0 speaker volume' to 'true' mute (0x8D)0bf00f5swiftformat changes📊 Changes
3 files changed (+25 additions, -11 deletions)
View changed files
📝
MonitorControl/Display.swift(+23 -9)📝
MonitorControl/Info.plist(+1 -1)📝
MonitorControlHelper/Info.plist(+1 -1)📄 Description
On my particular monitor (Samsung C34J79X), when the speaker volume is set to "0" and the MonitorControl OSD shows the audio as muted, the sound is not actually muted, it's just really soft.
Checking out the available DDC commands, there was one (0x8D - .audioMuteScreenBlank) that seemed to actually do the trick nicely.
I've implemented this such that the transitions between volume > 0, mute and unmute should be covered - from my testing on two monitors (mine and an LG 27UD58-B), they seem to work correctly.
I'm not 100% sure whether all monitors are able to handle the 0x8D command, so it'd be great if there could be some more testing on this.
Also, I'm not well-versed in Swift, so any suggestions to improve the quality of the change would be most welcome!
Lastly, this is an amazing and completely necessary piece of software, so thanks to all the contributors and maintainers!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.