Maxmod
|
Global include of Maxmod for DS (ARM7 side). More...
#include <mm_types.h>
Functions | |
mm_bool | mmActive (void) |
Used to determine if a module is playing. | |
mm_bool | mmActiveSub (void) |
Check if a jingle is playing or not. | |
mm_sfxhand | mmEffect (mm_word sample_ID) |
Plays a sound effect with default settings. | |
mm_word | mmEffectCancel (mm_sfxhand handle) |
Stops a sound effect. The handle will be invalidated. | |
void | mmEffectCancelAll () |
Stop all sound effects and reset the effect system. | |
mm_sfxhand | mmEffectEx (mm_sound_effect *sound) |
Plays a sound effect with custom settings. | |
void | mmEffectPanning (mm_sfxhand handle, mm_byte panning) |
Changes the panning of a sound effect. | |
void | mmEffectRate (mm_sfxhand handle, mm_word rate) |
Changes the playback rate for a sound effect. | |
void | mmEffectRelease (mm_sfxhand handle) |
Marks a sound effect as unimportant. | |
void | mmEffectScaleRate (mm_sfxhand handle, mm_word factor) |
Scales the rate of the sound effect by a certain factor. | |
void | mmEffectVolume (mm_sfxhand handle, mm_word volume) |
Changes the volume of a sound effect. | |
void | mmFrame (void) |
This is the main routine-function that processes music and updates the sound output. | |
void | mmInstall (int fifo_channel) |
Installs the Maxmod system on the ARM7 side. | |
mm_bool | mmIsInitialized (void) |
Returns whether or not the system is initialized and ready for playback. | |
void | mmJingle (mm_word module_ID) |
Plays a jingle. | |
void | mmLockChannels (mm_word bitmask) |
Lock audio channels to prevent Maxmod from using them. | |
void | mmPause (void) |
Pauses playback of the active module. | |
void | mmPlayModule (mm_word address, mm_word mode, mm_word layer) |
Play direct MAS file. | |
void | mmPosition (mm_word position) |
Set the current sequence [aka order-list] position for the active module. | |
void | mmResume (void) |
Resume module playback. | |
static mm_word | mmReverbBufferSize (mm_word bit_depth, mm_word sampling_rate, mm_word delay) |
This calculates the amount of memory needed for the reverb buffer. | |
void | mmReverbConfigure (mm_reverb_cfg *config) |
Configures the reverb system. | |
void | mmReverbDisable (void) |
Disables the reverb system and restores the channels. | |
void | mmReverbEnable (void) |
Enables the reverb system. | |
void | mmReverbStart (mm_reverbch channels) |
Starts reverb output in the selected channels. | |
void | mmReverbStop (mm_reverbch channels) |
Stops reverb output for the selected channels. | |
void | mmSelectMode (mm_mode_enum mode) |
Switches the audio mode for Maxmod DS. | |
void | mmSetEffectsVolume (mm_word volume) |
Set master volume scale for effect playback. | |
void | mmSetJingleVolume (mm_word volume) |
Use this function to change the master volume scale for jingle playback. | |
void | mmSetModuleVolume (mm_word volume) |
Use this function to change the master volume scale for module playback. | |
void | mmStart (mm_word module_ID, mm_pmode mode) |
Begins playback of a module. | |
void | mmStop (void) |
Stops playback of the active module. | |
void | mmStreamClose (void) |
Close audio stream. | |
mm_word | mmStreamGetPosition (void) |
Get number of samples elapsed since the stream was opened. | |
void | mmStreamOpen (mm_stream *stream, mm_addr wavebuffer, mm_addr workbuffer) |
Opens an audio stream. | |
void | mmStreamUpdate (void) |
Check buffering state and fill stream with data. | |
void | mmUnlockChannels (mm_word bitmask) |
Unlocks audio channels to allow Maxmod to use them. | |
Global include of Maxmod for DS (ARM7 side).