No problems with code version 2 for me on Windows and SVN Pygame. Lenard. René Dudfield wrote:
hey, this seems to be a bug. Thanks for finding it. cu, On Sun, Mar 22, 2009 at 5:07 PM, high <sunyonggao@xxxxxxxxx> wrote:Hello all! When using pygame.mixer.music, I encountered a strange problem, as follows:
[snip]
2.When add pygame.init(),Can not hear the music import pygame,time pygame.init() pygame.mixer.init() pygame.mixer.music.load('music.ogg') pygame.mixer.music.play() while pygame.mixer.music.get_busy(): time.sleep(0.1)
[snip] -- Lenard Lindstrom <len-l@xxxxxxxxx>