voidmmInitDefault( char* soundbank ); voidmmInitDefault( mm_addrsoundbank, mm_wordnumber_of_channels );
Filename of soundbank. A soundbank file can be created with the Maxmod Utility.
Memory address of soundbank (in ROM). A soundbank file can be created with the Maxmod Utility.
Number of module/mixing channels to allocate. Must be greater or equal to the channel count in your modules.
Initialize Maxmod with default settings.
For GBA, this function uses these default settings (and allocates memory): 16KHz mixing rate, channel buffers in EWRAM, wave buffer in EWRAM, and mixing buffer in IWRAM. It also links the VBlank interrupt to mmVBlank with the libgba interrupt handler.
For DS, this function also sets up the internal soundbank interface to use the file specified.
mmInitDefaultMem, mmInit, mmInstall