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

Re: [pygame] Mixer latency



Hello,

Do you have a link to your code?

You've tried setting a really small buffer size?  Like 512 or something?

Have a look at src/mixer.c to see how SDL is used.

cheers,



On Mon, Mar 31, 2008 at 2:50 PM, Wyatt Olson <wyatt.olson@xxxxxxxxx> wrote:
>
>  Upgraded to pygame 1.8 / python 2.5 - still the same latency.
>
>  I am thinking that it may be related to SDL itself, and not the python
> wrapper per se... I have seen some suggestions on lowering the chunk size in
> SDL.  Does this map directly to the buffer size in pygame, or is there some
> magic happining behind the scenes?
>
>  Thanks
>
>
>
>  Wayne Koorts wrote:
>
>  Does anyone have any suggestions on what I can try?
>
>  Wouldn't hurt to upgrade to Pygame 1.8 for a start.
>
> Regards,
> Wayne
>
>