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

Re: [pygame] More Windows music problems



Simon,

That solved my problem.  I should've thought of that myself, but I
guess I just didn't expect the buffer size to be configurable from
within Python (silly me).

Thank you so much!

John-Paul

On Tue, Jun 24, 2003 at 09:13:58AM +0800, Simon Wittber (Maptek) wrote:
> Hello John-Paul!
> 
> Sounds to me like the buffer used by the sound driver is too small. This
> could be causing the audio to skip...
> 
> Try calling the mixer.init function by itself, and experiment with
> increasing buffer sizes.
> 
> pygame.mixer.init([freq, [size, [stereo, [buffersize]]]])
> 
> Hope this helps,
> 
> SimonW.