for more information have a look at 'http://www.fmod.org/fmoddownload.html' (bottom down to the bottom of the page).
btw: i dont think that official fmod license applies to this module. use it, abuse it. its your problem - not mineMINIFMOD 1.7
This small XM replay system only adds 5k to your exe! Now including FULL SOURCE CODE!!!
FEXP tool to export a header based on your song, which will be compiled into MiniFMOD and exclude whole portions of code!
Pre-buffered output for 0 latency, and high output stability
100% click free.
XM sample callbacks for user generated or compressed XM samples!
File system callbacks so you can specify whatever loading system you like! (disk/wad/memory)

ddl: http://www.v40.net/members/minifmod170
copy that file to your userlibrarys and use it as follows:
MFMInit(?xm, 8603)
MFMPlay()
MessageRequester("..", "..")
MFMStop()
MFMClose()
DataSection
xm:
IncludeBinary "chiptune.xm"
EndDataSection
1.) init the library and let it import the xm data. first param=xm data, 2nd: size of xm data
2.) let it play
3.) to stop playing use MFMStop()
4.) use MFMClose() to shutdown the library