Pygame.mixer select output

I’v spent the beter part of the week just to get pygame.mixer work, it’s either been a problem with memfd or pygame wouldn’t install. Now i almost made it work in “MATE DESKTOP Enviroment 1.16.2” but i can’t get the output to the analog jack. If anyone knows how to set the output to analog || any other way to make the M2 Berry to loop a sound file on boot on the analog jack, ill be eternaly greatful.