Hi there, new to the mailing list.
I'm currently misusing pygame and its mixer to create a raspberry pi
script that can switch between different music playlists and play sfx
on command, all without any graphics.
So far it worked perfectly but now, in reach of the finish line, I
came across errors like this:
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
I'm not even sure what this means. But it really hurts
the audio playback. I play my music over pygame.mixer.Channel(0) and
(1). I know that's not the usual way to do it but I have my reasons
for using it.
I init my mixer with
pygame.mixer.pre_init(22050, -16, 2, 512)
I would like to put everything I can into getting the audio right as
it is literally the only thing that matters in this project. Does
anyone have any pointers what steps I could try?
Thanks!
David