Gee, how come I've been bothered by that bug for like 3 years straight now ... and just put up with it? Way to take matters into your own hands! :)
-Phil Michael Fiano <[EMAIL PROTECTED]> wrote: On Sat, 5 Apr 2008 13:14:27 -0700 (PDT) Phil Hassey wrote: > os.environ['SDL_AUDIODRIVER'] = 'waveout' > That mostly fixes it for me. Now it seems that the second time it > plays through the music there is some added clicking artifacts, but > the first time it plays fine ... This was a problem with 1.7.1 on Linux with Ogg Vorbis audio files as well. The solution for me was to add a check to see if the music was still playing, and if not restart it, rather than using PyGame's looping. Here's an example: def loop_music(): if not pygame.mixer.music.get_busy(): pygame.mixer.music.play() --------------------------------- You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.