MikMod support

Torbjörn Andersson torbjorn.e.andersson at tietoenator.com
Sat Sep 22 05:29:09 EDT 2001


For a sound-related mailing list it has sure grown eerily quiet. :-)

These patches should hopefully add MikMod support to SDL_sound. I'm not 
sure how it will hold up to mixing several MOD files together, but for 
single files it passes the ever-popular "works for me" test.

It requires the mikmod subset that comes with SDL_mixer, preferably the 
current CVS snapshot because that one has a more recent version of 
MikMod than the latest stable release has. I'm not quite sure how to 
handle building it properly, so the Makefile patch should be considered 
a quick hack. I had to turn off -Werror because MikMod apparently isn't 
quite ANSI C...

The aiff.patch.gz file contains some mostly cosmetic changes to the AIFF 
decoder, but I noticed I also forgot to initialize sample->flags. Oops.

Don't get your hopes up about mp3.patch.gz. I don't have a clue what's 
wrong with the MP3 decoder. This is just to keep it from greedily 
accepting just about any random file I threw at it.

Torbjörn Andersson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aiff.patch.gz
Type: application/x-gzip
Size: 1058 bytes
Desc: not available
URL: <http://icculus.org/pipermail/sdlsound/attachments/20010922/08c215e5/attachment.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.patch.gz
Type: application/x-gzip
Size: 868 bytes
Desc: not available
URL: <http://icculus.org/pipermail/sdlsound/attachments/20010922/08c215e5/attachment-0001.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod.c.gz
Type: application/x-gzip
Size: 1671 bytes
Desc: not available
URL: <http://icculus.org/pipermail/sdlsound/attachments/20010922/08c215e5/attachment-0002.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp3.patch.gz
Type: application/x-gzip
Size: 527 bytes
Desc: not available
URL: <http://icculus.org/pipermail/sdlsound/attachments/20010922/08c215e5/attachment-0003.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SDL_sound.patch.gz
Type: application/x-gzip
Size: 1001 bytes
Desc: not available
URL: <http://icculus.org/pipermail/sdlsound/attachments/20010922/08c215e5/attachment-0004.gz>


More information about the sdlsound mailing list