lx-s / WinMute

WinMute lets you automatically mute your PC volume on certain events (e. g. Screensaver, Workstation Lock, Shutdown, etc.).
BSD 3-Clause "New" or "Revised" License
168 stars 6 forks source link

Mute specific devices only #20

Closed bytenik closed 1 year ago

bytenik commented 1 year ago

When I use my headset (which is a different audio device) and walk away from my computer, the screen turns off and my headset gets muted. I'd like to be able to set this to mute only the primary (non-communications) audio device, i.e. my speakers.

I'm happy to help out with the code for this if you can give me some pointers for the codebase.

lx-s commented 1 year ago

Hey there, I guess the most flexible implementation would be permit-/blocklist for endpoints that should/shouldn't be muted.

I'll implement it in the next version :)

bytenik commented 1 year ago

Great, thank you!

lx-s commented 1 year ago

Lo and behold:

grafik

I'll release 2.3.0.0 shortly, after I let it stew for a few days on my machine, to see if no (obvious) errors are in it.

In the meantime, if you want to test it yourself (and maybe report problems), you can use the attached pre-release version. WinMute_2.3.0_Pre.zip