Started coding at the age of 13, now a professional software engineer and Scrum Master, creating and maintaining enterprise solutions. Eat - Sleep - Code - Lift - Repeat 💪🏾
I never had a use case to play audio via WSL. But in theory it should work when you install PulseAudio on both WSL and Windows host. I just checked, for Windows there is a download with binaries and setup. Inside your distro in WSL it should be simple to install with the package manager.
I did a quick research and found this article that seemed like a good tutorial (scroll down to the "Enabling Audio" section).
If you struggle at some point with that, comment here and I'll try to help :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Michael,
I never had a use case to play audio via WSL. But in theory it should work when you install PulseAudio on both WSL and Windows host. I just checked, for Windows there is a download with binaries and setup. Inside your distro in WSL it should be simple to install with the package manager.
I did a quick research and found this article that seemed like a good tutorial (scroll down to the "Enabling Audio" section).
If you struggle at some point with that, comment here and I'll try to help :)