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

Re: [pygame] Sound stops working after hours of operation



Hi Lenard
I don't know about under/overflow, let me ckeck that
Thanks,

--
Pierre


On 11-11-04 08:20 PM, Lenard Lindstrom wrote:
Hi,

Do you get underflow messages from alsa on the console while the
application is running?

Lenard Lindstrom

On Nov 4, 2011, *PierreLafrance1@xxxxxxxxxxxx*
<PierreLafrance1@xxxxxxxxxxxx> 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