[SDL] SDL on Android in 10 step

William Dyce wilbefast at gmail.com
Fri Jul 29 18:58:22 PDT 2011


On 07/16/2011 10:50 AM, Nikos Chantziaras wrote:
> On 07/16/2011 08:46 AM, Nikos Chantziaras wrote:
>> On 07/16/2011 08:17 AM, Mason Wheeler wrote:
>>> You need some way for it to recognize what you have as an MP3.
>>> What would you propose?
>>
>> An argument to Mix_LoadMUS_RW() for the type. But this breaks the API,
>> of course. So if there's not going to be an SDL_mixer 2.0 any time soon,
>> a new Mix_LoadMUS_Type_RW() might do it.
>
> I now introduced a new function:
>
> Mix_Music * Mix_LoadMUSType_RW(SDL_RWops *rw, Mix_MusicType type)
>
>[...]
> I am attaching the patch against current Hg. It's quite short, but
> please take a look at it in case I screwed something up.

So I suppose there's no interest in including this in SDL_mixer?




More information about the SDL mailing list