>>1) why am I getting the crackling when running the
>>demos?
>open the game's code and change in the mixer's
>initiation, the size of the buffer - it's the last
>parameter. For instance if you find:
>pygame.mixer.init()
>then replace with:
>pygame.mixer.init(22050,-16,1,2048)
Unfortunately, I still can't solve the problem. The demo code has no
call to pygame.mixer.init. Instead, the code (the Shadow of the Beast
animation on the website) looks like:
pygame.init()
[snip irrelevant code]
and then the main game loop.
There is no call in the same code to pygame.mixer(), so I added one as
you suggested, and even tried it in several places, like after
pygame().init, after the screen opening, after the call to start the
music, and so on, changing only one line for each test, but had no
luck. I checked out the webpage on the use of the mixer, and found
there's a pre_init() call that can be used before pygame.init(). I
even tried that, but it made no difference. I then decided to use
Synaptic Package Manager to re-apply the libsdl mixer library, in case
that was the problem. Still no luck.