radj307 / volume-control

Specific-Application Volume Control Hotkeys for Windows.
https://radj307.github.io/volume-control
GNU General Public License v3.0
76 stars 6 forks source link

[BUG] Device volume slider doesn't change when bypassing hotkeys #73

Open radj307 opened 1 year ago

radj307 commented 1 year ago

Version

5e733d0f2d8ebdf471434e65984bbc5f501a91ed

Actual Behaviour

When using Volume Control's default hotkey config I can change the Windows system volume by holding a modifier key and using my volume rocker. When I do this, the device volume sliders don't update.

image

Breakpoint at VolumeControl.CoreAudio/AudioDevice.cs:174 is not hit: image this means that the AudioEndpointVolume.OnVolumeNotification event does not fire when this happens.

Interestingly, changing the volume of a device through any other means (Windows Volume Mixer, device hotkey actions, etc.) the device volume sliders update perfectly fine, and the breakpoint shown above is hit as expected.

Expected Behaviour

Device volume sliders update regardless of the method used to change the device's volume.

Reproduction Steps

Pre-Requisites:

  1. Start Volume Control & enable the device controls checkbox
  2. Hold down CTRL (or any combination of the other modifiers) and adjust the volume rocker
  3. Notice that the Windows volume changes as if Volume Control weren't running, but the device volume sliders don't change.

Log

No response

radj307 commented 1 year ago

Since most users probably don't use the device volume sliders (feel free to correct me), this is being treated as a low-priority issue.