| Summary: | Native MIDI on OS X does not loop | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Simon Howard <fraggle+libsdl> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P1 | CC: | renesd |
| Version: | 1.2.11 | ||
| Hardware: | Other | ||
| OS: | Mac OS X (All) | ||
|
Description
Simon Howard
2010-01-17 10:22:23 UTC
I can confirm this bug.
We are tracking this in the pygame bug tracker too at:
https://bitbucket.org/pygame/pygame/issue/44/pygamemixermusicplay-only-plays-once
*** Bug 955 has been marked as a duplicate of this bug. *** Bumping priority on a few SDL_mixer bugs. This is just so we know to look at them for an upcoming release, but once we look at them more closely, we may decide to flag them as WONTFIX or push them back to a later release, so don't take this change in priority as any promise of anything, yet. :) --ryan. I'll take a look at this bug, I was just poking at the native midi code. Just as a note, loops 0 means don't loop: If 'loops' is greater than zero, loop the sound that many times. If 'loops' is -1, loop inifinitely (~65000 times). This is fixed, thanks! http://hg.libsdl.org/SDL_mixer/rev/9ca74f21d466 Here is a better fix: http://hg.libsdl.org/SDL_mixer/rev/f19368c22ebd Great news, thanks! You're welcome! :) |