Open not-holar opened 11 months ago
The Windows API has a callback interface made specifically for listening to Volume changes https://learn.microsoft.com/en-us/windows/win32/api/endpointvolume/nn-endpointvolume-iaudioendpointvolumecallback, IMO it would be much more efficient to use it instead of always polling in the background
The Windows API has a callback interface made specifically for listening to Volume changes https://learn.microsoft.com/en-us/windows/win32/api/endpointvolume/nn-endpointvolume-iaudioendpointvolumecallback, IMO it would be much more efficient to use it instead of always polling in the background