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

Re: [pygame] mixer?



On Tue, 2005-03-29 at 02:58 +0800, Stefan Elwesthal wrote:
> pygame.error: mixer system not initialized

Ubuntu uses the ESD sound system. SDL is probably failing to initialize
the audio through traditional methods. Try running your program with the
environment variable SDL_AUDIODRIVER=esd.

You'll notice ESD imposes a terrible lag on when play the sound to the
time you actually hear something. On the newer Ubuntu 5.04 I recommend
replacing ESD with polypaudio. It's easy to install, takes no
configuring, and no latency. (you'll still need to set the environment
variable to esd)

You may also have more or less luck disabling ESD or polypaudio and
using oss/alsa directly.