Maxmod
|
DS setup information. More...
#include <mm_types.h>
Data Fields | |
mm_word | fifo_channel |
FIFO channel to use for communicating with ARM7. Usually FIFO_MAXMOD. | |
mm_word * | mem_bank |
Pointer to a memory region to be used for managing modules/samples: | |
mm_word | mod_count |
Number of modules in the soundbank file. Write MSL_NSONGS here. | |
mm_word | samp_count |
Number of samples in the soundbank file. Write MSL_NSAMPS here. | |
DS setup information.
More about mem_bank: Maxmod needs some memory to manage samples and modules that are loaded/unloaded into/from memory. This pointer should reference an area of memory that is mod_count+samp_count WORDS in size:
MSL_BANKSIZE is defined as the sum of the module and sample count in the soundbank.
The mmInitDefault()/mmInitDefaultMem() functions may be used to quickly initialize maxmod default settings. Using these functions, mod_count and samp_count will be automatically filled using data from the soundbank, and mem_bank will be allocated with malloc().
mm_word* t_mmdssystem::mem_bank |
Pointer to a memory region to be used for managing modules/samples: