Hi @popey, thank you for the response
I followed the solution posted by James, I added the alsa-pulseaudio to the parts and layout definition, following the github repo he posted.
this time it seems to find the alsa.conf but something else came up now,
Hello from the pygame community. https://www.pygame.org/contribute.html
ALSA lib control.c:1379:(snd_ctl_open_noupdate) Invalid CTL hw:0
ALSA lib dlmisc.c:283:(snd_dlobj_cache_get0) Cannot open shared library /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so ((null): libpulsecommon-13.99.so: cannot open shared object file: No such file or directory)
ALSA lib control.c:1379:(snd_ctl_open_noupdate) Invalid CTL hw:0
ALSA lib control.c:1379:(snd_ctl_open_noupdate) Invalid CTL hw:0
ALSA lib dlmisc.c:283:(snd_dlobj_cache_get0) Cannot open shared library /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so ((null): libpulsecommon-13.99.so: cannot open shared object file: No such file or directory)
ALSA lib control.c:1379:(snd_ctl_open_noupdate) Invalid CTL hw:0
Traceback (most recent call last):
File "/snap/white-canary/x20/bin/hello", line 5, in <module>
from src.app import main
File "/snap/white-canary/x20/lib/python3.8/site-packages/src/app.py", line 12, in <module>
pygame.mixer.init()
pygame.error: ALSA: Couldn't open audio device: No such device or address