You probably just upgraded pygame from 1.7.1 to 1.8.1. 1.8.1 increased the default sound buffer size to avoid various hiccups in sound playback. (It was supposed to be in 1.8.0, but a bug caused it to decrease and be stuck there.) You can override it by calling pygame.mixer.init or .pre_init and giving a buffer size. Values get rounded up to the next power of two.
Someone with SVN access might want to fix the default, by the way. It's set to 1024*3 (=3072), but the power-of-two rounding makes that effectively 4096. The docs also say the buffer size "must be a power of two", which the default isn't. And that should really read "should be", since it's rounded up otherwise. -FM On Sat, Nov 15, 2008 at 8:49 AM, pymike <[EMAIL PROTECTED]> wrote: > Hi all, > > I recently upgraded my Ubuntu from Hardy (8.04) to Intrepid (8.10). Now > sound/music are delaying about 10-20 milleseconds in pygame. :-S > > Sounds in other SDL applications (I've tested SuperTux 2 and Wormux) work > perfectly, which makes me think it's not a sound driver issue. > > Can anyone help me to get this fixed? > > Thanks :-) > > -- > - pymike > "Stop loling into a false sense of hilarity" >
