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

Re: [pygame] Problems with sound lag



The author of Natto-Cat (which is a cool game by the way)
recently said that sometimes it's necessary to increase the buffer size
of pygame.mixer to avoid pops and scratches in sound.
However, a side-effect of this is that it takes longer for sounds
to fill the buffer, and therefore, longer to start playing.
After a certain point, the delay in filling the buffer becomes noticeable.
Perhaps the author of whichever game you're playing needed to increase
the buffer size to get sound playback to work correctly?
I'm sure Aaron Maupin (the Natto-Cat guy) will be interested
to talk to you about this.
good luck.
-Luke


John Eriksson wrote:
Hi,

I've just installed the latest PyGame release from subversion on Ubuntu
6.06.

I've tried to run a small game and it works fine except for a short
delay every time a sound effect is played.

Does anyone have any experience with this?

Best Regards
/John Eriksson