Closed mailinglists35 closed 1 year ago
Glad it is helpful! :) I am not really planning to change the logic in the GWSL code itself (because it is already a pain to manage pulseaudio) but if you get the Github version of GWSL you can look in the PULSE folder in the install location. It has all the configuration files.
First, thanks to bundling everything together, this is great for lazy me that used to run them all separated!
I have one issue though, is there any way you could run the pulseaudio without the microphone icon popping up in system tray?
I am used to not see it unless an app absolutely needs to use the microphone right now.
It seems that the pulseaudio server triggers the microphone icon permanently.
Maybe dynamically user to be able to restart pulseaudio daemon in two configuration modes, one with microphone and in one without it, user selectable from GUI config of the app? I don't think I need pulseaudio to permanently hook the microphone device, even if it actually does not make use of it. Or as fallback if unable to selectively ignore sources on pulseaudio.exe, to be able to shut it off completely until I actually want audio playing from WSL clients?
A major drawback of current state is that I would miss real microphone notification if some other app actually wants to use the microphone so I always end up exiting GWSL and starting VcXsrv on demand or bundled in MobaXterm when I need WSL GUI apps...
I tried to disable the inputs dynamically inside pulse with
pactl
like this but it fails on windows: https://unix.stackexchange.com/questions/263263/remove-pulseaudio-device"pactl list" relevant module:
the same error with