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

[pygame] calling mixer.init() results in high CPU usage



On my gentoo-linux 1.4 system (running python 2.2.3 and pygame 1.5.6)
executing the following in a python shell results in python taking 100%
CPU: 

balki@solo gdbox $ python
Python 2.2.3 (#1, Aug 17 2003, 22:21:26)
[GCC 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
>>> pygame.mixer.init()
>>>

doing a pygame.mixer.quit() stops the high CPU usage.

It does not do this on my windows system (win2000, python 2.2.2 and
pygame 1.5.5)

I've tried pygame-1.5.6 and 1.5.5 - both have the same result.

Any ideas, anyone?

Cheers,

Andy