|
Maxmod
|
Global include of Maxmod for GBA. More...
Enumerations | |
| enum | mm_mixlen_enum { MM_MIXLEN_8KHZ = 544 , MM_MIXLEN_10KHZ = 704 , MM_MIXLEN_13KHZ = 896 , MM_MIXLEN_16KHZ = 1056 , MM_MIXLEN_18KHZ = 1216 , MM_MIXLEN_21KHZ = 1408 , MM_MIXLEN_27KHZ = 1792 , MM_MIXLEN_31KHZ = 2112 } |
| Precalculated mix buffer lengths (in bytes) More... | |
Functions | |
| bool | mmEnd (void) |
| Deinitializes Maxmod. | |
| void | mmFrame (void) __attribute((long_call)) |
| This is the main routine-function that processes music and updates the sound output. | |
| mm_callback | mmGetEventHandler (void) |
| Returns the event handler previously installed by the user. | |
| mm_word | mmGetModuleCount (void) |
| Returns the number of modules available in the soundbank. | |
| mm_word | mmGetSampleCount (void) |
| Returns the number of samples available in the soundbank. | |
| mm_voidfunc | mmGetVBlankHandler (void) |
| Returns the VBlank handler previously installed by the user. | |
| bool | mmInit (mm_gba_system *setup) |
| Initializes Maxmod with the settings specified. | |
| bool | mmInitDefault (mm_addr soundbank, mm_word number_of_channels) |
| Initialize Maxmod with default settings. | |
| void | mmSetEventHandler (mm_callback handler) |
| Install handler to receive song events. | |
| void | mmSetVBlankHandler (mm_voidfunc function) |
| Installs a custom handler to be processed after the sound DMA is reset. | |
| void | mmVBlank (void) |
| This function must be linked directly to the VBlank IRQ. | |
Global include of Maxmod for GBA.