Do you load the beep from disk once and then play it back with the in-memory 
sound object or are you reloading it each time?

-----------------------------
Sent from a mobile device. Apologies for brevity and top-posting.
-----------------------------

On Nov 4, 2011, at 5:42 PM, "[email protected]" 
<[email protected]> wrote:

> 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

Reply via email to