[SDL] Re: SDL_mixer + SDL_RWops

Jess JessH at lbjhs.net
Mon Apr 10 08:18:50 PDT 2000

if you wana convert the mikmod directory i think im gona do the timidity dir so
send me the patch when ya get done and ill merge it all , and if anyone else
wants to help tell me.

the way im planning on doing it renameing the function to name_RWops and
converting it to use RWops, then write a wraper with the old function name that
loads it into an RWops structureand passes it to the RWops version. this sound
good to you?

matt at campbellhome.dhs.org wrote:

> > Currently to load data from a data file using SDL_mixer or to convert it
> > and then load it using SDL_mixer you have to use the dirty hack of
> > writing it to a temp file and then reading it.the best solution for
> > fixing this seems to be to rewrite it to use SDL_RWops. is anyone
> > curently working on doing this? and is it alright to rewrite the stuff
> > in the timidity directory?
> >
> I am also interested in this - I had been pondering messing with the mikmod
> directory.  It loads wave files with SDL_RWops, I believe - it is only the
> 3rd-party MID & MOD support that is file-dependent.
> If nobody else is already doing this, I think I'll try to convert the mikmod
> directory to SDL_RWops.
> -Matt

More information about the SDL mailing list