Maxmod
Data Fields
t_mmsoundeffect Struct Reference

Information for playing a sound effect. More...

#include <mm_types.h>

Data Fields

mm_sfxhand handle
 Handle of previous sound effect. If a valid handle is given, it will be recycled.
 
mm_byte panning
 Panning level. Ranges from 0 (far-left) to 255 (far-right).
 
mm_hword rate
 Playback rate. 6.10 fixed point number. (1024 = original sound)
 
mm_byte volume
 Volume level. Ranges from 0 (silent) to 255 (normal).
 
mm_word id
 ID of sample to be played. Values are defined in the soundbank header.
 
mm_ds_samplesample
 Address of external sample, must be in main RAM. The ID is ignored if this entry is used. This field isn't valid in GBA systems.
 

Detailed Description

Information for playing a sound effect.

The sample entry is only supported on DS and may be used to play an external sample source.


The documentation for this struct was generated from the following file: