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

Re: [pygame] pygame.init()



The code is scattered across a few files. I'll try to come up with a
minimalist example that fails. Thanks for looking into this.

Ari.

"Rene Dudfield" <renesd@xxxxxxxxx> writes:

> Ah ok.
>
> Can I please have a little example script so I can investigate?
>
>
> On 5/3/06, Ari Krupnik <ari@xxxxxxxx> wrote:
>> Did that, too. That was an earlier question, and I was missing that,
>> but I have it now. The mixer doesn't work for me on Windows even with
>> a running window if I don't call pygame.init().
>>
>> Ari.
>>
>> "Rene Dudfield" <renesd@xxxxxxxxx> writes:
>>
>> > The mixer can run on linux without calling pygame.display.set_mode()
>> > You need to call that on windows before things work properly.
>> >
>> >
>> > On 5/3/06, Ari Krupnik <ari@xxxxxxxx> wrote:
>> >> What does this actually do?
>> >>
>> >> I'm trying to call pygame.mixer.pre_init, and so I'm trying to delay
>> >> initializing the sound until I have the information that I need for
>> >> that. I separately initialize pygame.display, pygame.joystick and
>> >> eventually, pygame.mixer. This works on Linux, but fails on
>> >> Windows. Are there any other modules I MUST initialize?
>> >>
>> >> I tried to read base.c from CVS, but I'm afraid  I don't understand
>> >> the C code in it.
>> >>
>> >> Ari.
>> >>
>> >> --
>> >> Elections only count as free and trials as fair if you can lose money
>> >> betting on the outcome.
>> >>
>> >
>>
>> --
>> Elections only count as free and trials as fair if you can lose money
>> betting on the outcome.
>>
>

-- 
Elections only count as free and trials as fair if you can lose money
betting on the outcome.