Re-installed and re-booted, and it's still not working.

On Sun, Nov 16, 2008 at 4:23 PM, pymike <[EMAIL PROTECTED]> wrote:

> Still not working. I'll try rebooting to see if that fixes it :S
>
> Has anyone had this problem?
>
>
> On Sun, Nov 16, 2008 at 4:20 PM, pymike <[EMAIL PROTECTED]> wrote:
>
>> Strike that, it's still delaying. If I raise it it starts running too
>> fast. I'm re-installing pygame to see if that will fix it.
>>
>>
>> On Sat, Nov 15, 2008 at 5:10 PM, pymike <[EMAIL PROTECTED]> wrote:
>>
>>> pygame.mixer.pre_init(44100*4) seams to fix it. Is there a global
>>> variable I can change to fix this or something? It also appears to be a
>>> local problem with my OS, so distributing games might get painful...
>>>
>>> Thanks :-)
>>>
>>>
>>> On Sat, Nov 15, 2008 at 4:57 PM, pymike <[EMAIL PROTECTED]> wrote:
>>>
>>>> Hey, thanks for the reply :-)
>>>>
>>>> I already had version 1.8.1.
>>>>
>>>> Adding pygame.mixer.pre_init(1024*3) [before pygame.init()] delays the
>>>> sound even more, and the playback is distorted. I also tried 1024 and 
>>>> 1024*2
>>>> and got the same (or similar) results :S
>>>>
>>>>
>>>> On Sat, Nov 15, 2008 at 3:59 PM, Charlie Nolan <[EMAIL PROTECTED]>wrote:
>>>>
>>>>> 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"
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> - pymike
>>>> "Stop loling into a false sense of hilarity"
>>>>
>>>
>>>
>>>
>>> --
>>> - pymike
>>> "Stop loling into a false sense of hilarity"
>>>
>>
>>
>>
>> --
>> - pymike
>> "Stop loling into a false sense of hilarity"
>>
>
>
>
> --
> - pymike
> "Stop loling into a false sense of hilarity"
>



-- 
- pymike
"Stop loling into a false sense of hilarity"

Reply via email to