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

Re: [pygame] Capabilities of Pygame



On 14/01/2012 8:36 PM, Greg wrote:
--- On Sat, 1/14/12, Ryan Strunk <ryan.strunk@xxxxxxxxx> wrote:
The only audio-only game I've seen written in Pygame, Sound
RTS, has a bit
of noticeable lag when playing sounds.

I don't know about music, but the latency of (non-streamed)
sounds can be reduced by specifying a smaller buffer size
when you initialise the mixer module.

I remember there was a tradeoff though, with poor playback if the buffer was too small. Maybe that is no longer a problem.

Lenard