[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Sound stops working after hours of operation



Hi
Our Pygame application run 24/7 on a Atom/Intel Desktop Board D945GSEJT, with Debian Squeeze / Python / Pygame.

Our application use this code to create once in a while, a BEEP sound. Lets say its to wake up users :-)

 self.beep_file = pygame.mixer.Sound("%s/beep.wav" % FILE_LOCATION)

This works find for many hours, but stops working within a day. If we make this system command in shell :
aplay %s/beep.wav

sound works and we can hear the sound.

In other words, sound trough Pygame doesn't work, but sounds trough system works fine.

We search the web for clues, but look likes we are pretty alone with this kind of bug.

Any pointer ?
Thanks

--
Pierre