[SDL] Appending resources to .exe
Andre de Leiradella
leiradella at bigfoot.com
Thu Apr 5 15:56:02 PDT 2007
> If I remember correctly, this is because the MP3 loading code, and many
> others, do a SEEK_SET or SEEK_END style seek, meaning relative to the
> overall beginning or end of your stream, not relative to where you tell
> it to start. This is due to the headers and organization of these
> filetypes. It is totally possible to fix this with a custom replacement
> for the SDL_RWOps structure created by the RWOps open function with
> custom functions which artificially restrict this seeking and even
> reading/writing manually based on the ranges you give it. I believe
> I've even done this, but can't seem to locate my code for it at the
> moment.
I already do this in my code, so the problem must be something else...
Cheers,
Andre
More information about the SDL
mailing list