head 1.1; branch 1.1.1; access ; symbols start:1.1.1.1 PAlibDoc:1.1.1; locks ; strict; comment @# @; 1.1 date 2005.11.02.08.30.26; author jandujar; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.11.02.08.30.26; author jandujar; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @
Defines | |
#define | PA_PlayMod(mod_snd) SndPlayMOD((u8*)mod_snd) |
Play a mod ! Thanks to Deku for that :p | |
#define | PA_StopMod() SndStopMOD() |
Stop playing the mod ! Thanks to Deku for that :p | |
#define | PA_PauseMod(bool) SndPauseMOD(bool) |
Pause the mod ! Thanks to Deku for that :p | |
Functions | |
void | PA_SetDefaultSound (u8 volume, s16 freq, s16 format) |
Set the default sound options (for the PlaySimpleSound function) | |
void | PA_InitSound (void) |
Initialise the Sound system, for mods and sound effects | |
void | PA_PlaySoundEx (u8 PA_Channel, const void *data, u32 length, u8 volume, s16 freq, s16 format) |
Play a given sound effect, but chose your format | |
void | PA_PlayGBFSSoundEx (u8 PA_Channel, u16 GBFS_wav_number, u8 volume, s16 freq, s16 format) |
Play a given sound effect, but chose your format, from GBFS | |
void | PA_PlaySound (u8 PA_Channel, const void *data, u32 length, u8 volume, s16 freq) |
Play a given sound effect, with default format (raw) | |
void | PA_PlayGBFSSound (u8 PA_Channel, u16 GBFS_wav_number, u8 volume, s16 freq) |
Play a given sound effect, with default format (raw), from GBFS | |
void | PA_PlaySimpleSound (u8 PA_Channel, const void *data, u32 length) |
Simplest sound playing function... Takes the default options for volume, format, and rate (11025). You can change these options by using PA_SetDefaultSound | |
void | PA_PlayGBFSSimpleSound (u8 PA_Channel, u16 GBFS_wav_number) |
Simplest sound playing function... From GBFS... Takes the default options for volume, format, and rate (11025). You can change these options by using PA_SetDefaultSound | |
void | PA_PlayGBFSMod (u16 GBFS_mod_number) |
Play a mod from GBFS... Warning, it copies to RAM, so big mods will make the DS crash... |
|
Pause the mod ! Thanks to Deku for that :p
|
|
Play a mod ! Thanks to Deku for that :p
|
|
Play a mod from GBFS... Warning, it copies to RAM, so big mods will make the DS crash...
|
|
Simplest sound playing function... From GBFS... Takes the default options for volume, format, and rate (11025). You can change these options by using PA_SetDefaultSound
|
|
Play a given sound effect, with default format (raw), from GBFS
|
|
Play a given sound effect, but chose your format, from GBFS
|
|
Simplest sound playing function... Takes the default options for volume, format, and rate (11025). You can change these options by using PA_SetDefaultSound
|
|
Play a given sound effect, with default format (raw)
|
|
Play a given sound effect, but chose your format
|
|
Set the default sound options (for the PlaySimpleSound function)
|