Closed toxfu closed 4 months ago
It seems like pygame-ce is trying to find PulseAudio and failing, then falling back to using ALSA.
Could you try updating to pygame-ce 2.5.0.dev2 and using the PipeWire driver? To use the pipewire driver just do something like SDL_AUDIODRIVER=pipewire python3 your_app.py
As I had been working with my WSL environment for years, at the time the audio was a problem, so I did the pulseaudio tutorial.
Searching I found that WSL now comes with WSLg (which has audio control included). Installed a new WSL environment and everything works great with audio (includes pygame-ce=2.4.1).
Thanks for your time.
only pygame-ce enviroment on WSL (Windows 11)
when I want to work with audio, regardless of the code, it always generates the following error:
I have already tried the solution with PulseAudio, it works well with applications. But I can't get it to work with pygame.
postscript: I have used this tutorial https://www.linuxuprising.com/2021/03/how-to-get-sound-pulseaudio-to-work-on.html