I dropped it into my app and it works perfectly with Ubuntu except a
bit of a performance problem with the way SDL handles mp3 files as
music.rewind() has to be called first before set_pos or
play(start=60).. play(start=60) actually skips ahead 60 seconds if the
music is already playing instead of resetting the start point to 60
seconds.
If the windows build isn't too hairy I'll test it there sometime soon.
Thanks,
Mark
On Mon, May 24, 2010 at 2:23 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
Hi,
I have added set_pos to pygame.mixer.music in svn rev 2809. Other than a
quick check that it causes an mp3 file to skip forward while playing it is
quite untested. Updating pygame.mixer.music.play to call Mix_FadeInMusicPos
will follow. This should be safe as Mix_PlayMusic simply wraps a call to
Mix_FadeInMusicPos.