| Summary: | FLAC patch changed the order of Mix_MusicType | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Alam Arias <Alam.GBC> |
| Component: | misc | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
Fixed in svn revision #3571. Thanks! --ryan. |
in r3557 of SDL_Mixer, MUS_FLAC was added in the middle of Mix_MusicType list, so any program compiled with SDL_Mixer 1.2.8 and uses Mix_GetMusicType() and (MUS_MP3 or MUS_MP3_MAD) will be messed up when linked against this new SDL_Mixer code, let just move MUS_FLAC to the end of the list to fix this diff --git a/SDL_mixer.h b/SDL_mixer.h index 58e0713..4d6907a 100644 --- a/SDL_mixer.h +++ b/SDL_mixer.h @@ -103,9 +103,9 @@ typedef enum { MUS_MOD, MUS_MID, MUS_OGG, - MUS_FLAC, MUS_MP3, - MUS_MP3_MAD + MUS_MP3_MAD, + MUS_FLAC, } Mix_MusicType; /* The internal format for a music chunk interpreted via mikmod */