pulseaudio-win32 icon indicating copy to clipboard operation
pulseaudio-win32 copied to clipboard

Pulseaudio for WSL configuration

Open pawelurbanski opened this issue 2 years ago • 1 comments

Dear Patrick, I am filing this issue after exhausting the following paths to solve my problem:

  • Changing variables one by one and testing the results,
  • Following 2 different threads on the web claiming that sound under WSL works,
  • WSL refers to wWSL2 witth updated Ubuntu 21.04,
  • Reinstalling Pulseaudio from scratch,

If you could help out with a working configuration if you happen to have one or clarify a bit more the following: What configuration directory is used by the windows service? There are 3 possible places or more, where configuration files can be or are placed:

  • Program files folder with /ebc/...,
  • Program data folder with: pulseaudio mentioned in hte log output,
  • Administrator home folder .config/pulse/,

Which files should be modified to enable TCP protocol and allow connections from WSL. The WSL virtual machine is assigned a local network address from the pool in 172.16.0.0/12 - I found this vale in a few threads on the web.

Last but not least. Any hints about proper configuration on the WSL Linux side besides setting the $PULSE_SERVER environment variable to the assigned IpP address?

Thank you in advance for your time and help... Pawel

pawelurbanski avatar Aug 29 '21 15:08 pawelurbanski