[GH-ISSUE #172] Issue detecting the output device #126

Closed
opened 2026-05-05 05:06:40 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @remus-b on GitHub (Jan 24, 2020).
Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/172

It would be very useful to detect the selected output. I'm not sure if this is possible but I find myself switching between the Monitor speakers and headphones.
The issue is that when I'm using the headphones the key for volume affects the volume of the monitor and not of the headphones.
So I'm quitting the app each time I'm having this, which is many times a week.

Originally created by @remus-b on GitHub (Jan 24, 2020). Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/172 It would be very useful to detect the selected output. I'm not sure if this is possible but I find myself switching between the Monitor speakers and headphones. The issue is that when I'm using the headphones the key for volume affects the volume of the monitor and not of the headphones. So I'm quitting the app each time I'm having this, which is many times a week.
gitea-mirror 2026-05-05 05:06:40 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@JoniVR commented on GitHub (Jan 24, 2020):

image

Hi, this is already current behaviour. The app detects if the selected output device supports volume control. It also responds to changes in default audio device.

Perhaps your specific device reports back wrongly that it can't set it's own volume?

Can you download the project, run it in xcode (after following the how to build instructions) and then report your console output after switching volume? It should show something like this:

image

<!-- gh-comment-id:578068305 --> @JoniVR commented on GitHub (Jan 24, 2020): ![image](https://user-images.githubusercontent.com/7591717/73060914-334faf00-3e99-11ea-9523-32efb4577173.png) Hi, this is already current behaviour. The app detects if the selected output device supports volume control. It also responds to changes in default audio device. Perhaps your specific device reports back wrongly that it can't set it's own volume? Can you download the project, run it in xcode (after following the [how to build](https://github.com/the0neyouseek/MonitorControl#how-to-build) instructions) and then report your console output after switching volume? It should show something like this: ![image](https://user-images.githubusercontent.com/7591717/73061261-0d76da00-3e9a-11ea-86c6-4187d6ace6bb.png)
Author
Owner

@remus-b commented on GitHub (Jan 24, 2020):

Thank you for your fast reply! 👍
Going to test this out and let you know.
My use-case is that I change from the menubar from the top right corner the output source. I also tried now at the hardware level (plug-out and in the headphone jack) but no change.
Installing now the Xcode

<!-- gh-comment-id:578116909 --> @remus-b commented on GitHub (Jan 24, 2020): Thank you for your fast reply! 👍 Going to test this out and let you know. My use-case is that I change from the menubar from the top right corner the output source. I also tried now at the hardware level (plug-out and in the headphone jack) but no change. Installing now the Xcode
Author
Owner

@remus-b commented on GitHub (Jan 28, 2020):

I can't manage to make a new build. Deleted the app.
Any tips on how to do a clean install? maybe I have better chances.
My specs: Macbook Pro 15 2018
Monitor: LG 34UC99-W

Thank you.

<!-- gh-comment-id:579204870 --> @remus-b commented on GitHub (Jan 28, 2020): I can't manage to make a new build. Deleted the app. Any tips on how to do a clean install? maybe I have better chances. My specs: Macbook Pro 15 2018 Monitor: LG 34UC99-W Thank you.
Author
Owner

@JoniVR commented on GitHub (Jan 31, 2020):

What issue are you specifically running into?

<!-- gh-comment-id:580775295 --> @JoniVR commented on GitHub (Jan 31, 2020): What issue are you specifically running into?
Author
Owner

@JoniVR commented on GitHub (Feb 15, 2020):

One thing to keep in mind (for any other people running into this) is that MonitorControl uses the default output device. So you need to actually select the device you want to play sound from in de sound settings.

image

<!-- gh-comment-id:586580193 --> @JoniVR commented on GitHub (Feb 15, 2020): One thing to keep in mind (for any other people running into this) is that MonitorControl uses the default output device. So you need to actually select the device you want to play sound from in de sound settings. ![image](https://user-images.githubusercontent.com/7591717/74586982-88d93080-4fed-11ea-988d-6e3c0894c010.png)
Author
Owner

@kevinjohncutler commented on GitHub (Mar 5, 2020):

Turns out that "Listen for volume only" caused this bug for me. Changing it back to "listen for both" fixed it. Hopefully that gives a better idea of what causes the bug!

(I had the "volume only" toggle because I was using ExternalDisplayBrightness for brightness control, as they fixed the two-monitor-sync problem a while back).

<!-- gh-comment-id:595016084 --> @kevinjohncutler commented on GitHub (Mar 5, 2020): Turns out that "Listen for volume only" caused this bug for me. Changing it back to "listen for both" fixed it. Hopefully that gives a better idea of what causes the bug! (I had the "volume only" toggle because I was using ExternalDisplayBrightness for brightness control, as they fixed the two-monitor-sync problem a while back).
Author
Owner

@remus-b commented on GitHub (Mar 5, 2020):

Yes, I was using it on "Listen for volume only" also. Because I don't need the brightness adjustments. Maybe this is something that is causing the bug. Let's hope for the best.
Thank you!

LE: can confirm. I reinstalled the app and now it works if I have it on "Both Brightness & Volume".

<!-- gh-comment-id:595069732 --> @remus-b commented on GitHub (Mar 5, 2020): Yes, I was using it on "Listen for volume only" also. Because I don't need the brightness adjustments. Maybe this is something that is causing the bug. Let's hope for the best. Thank you! LE: can confirm. I reinstalled the app and now it works if I have it on "Both Brightness & Volume".
Author
Owner

@JoniVR commented on GitHub (Mar 10, 2020):

As you probably noticed a Pull Request has been submitted to fix this issue, thanks for identifying the issue in here, it helped solve it quicker 🙂

<!-- gh-comment-id:597329319 --> @JoniVR commented on GitHub (Mar 10, 2020): As you probably noticed a Pull Request has been submitted to fix this issue, thanks for identifying the issue in here, it helped solve it quicker 🙂
Author
Owner

@kumowoon1025 commented on GitHub (Oct 28, 2020):

So I thought I successfully added the option to use SwiftPM instead of Carthage in my fork, but apparently I forgot to stage the actual swiftpm files so I'm trying to remember what I did months ago.

Then earlier I notice this stub of a branch that didn't look like any flow branch or anything, just one commit and not merged/finished, but apparently I have a ref to it somewhere, because it had me scratching my head for hours wondering why git wouldn't prune this for the love of

It was on my fork, of course. I thought I was starting to lose it. Why would something like that happen?? Did I pull after the commit on the "fix" branch and then some history-changing done on the upstream repo? I realize I can just zap the branch, it was merged but confused as to why my fork wouldnt reflect that 😕

<!-- gh-comment-id:717861576 --> @kumowoon1025 commented on GitHub (Oct 28, 2020): So I thought I successfully added the option to use SwiftPM instead of Carthage in my fork, but apparently I forgot to stage the actual swiftpm files so I'm trying to remember what I did months ago. Then earlier I notice this stub of a branch that didn't look like any flow branch or anything, just one commit and not merged/finished, but apparently I have a ref to it somewhere, because it had me scratching my head for hours wondering why git wouldn't prune this for the love of It was on my fork, of course. I thought I was starting to lose it. Why would something like that happen?? Did I pull after the commit on the "fix" branch and then some history-changing done on the upstream repo? I realize I can just zap the branch, it was merged but confused as to why my fork wouldnt reflect that 😕
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/MonitorControl#126
No description provided.