ALSA lib underrun occured
Sometimes there occur underruns in the ALSA lib in the newer versions of cellular_automaton
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
That is due to pygame reducing the buffer in version 2.0.0.
It can be fixed by increasing the buffer again before initializing the window (which internally calls pygame.init())
pygame.mixer.pre_init(buffer=4096)
I will look into it at some time. Things to check are
-
Does the need of a bigger buffer indicate another problem -
Is this problem general enough to be fixed in this package -
Can the buffer need be reduced -
Is the fix acceptable
Edited by Richard Feistenauer