|
Defines |
#define | PA_PlaySimpleSound(PA_Channel, sound) PA_PlaySoundEx(PA_Channel, (void*)sound, (u32)sound##_size, PA_SoundOption.volume, PA_SoundOption.freq, PA_SoundOption.format) |
| Simplest sound playing function... Takes the default options for volume, format, and rate (11025). You can change these options by using PA_SetDefaultSound
|
#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
|
#define | PA_MicStopRecording() StopRecording() |
| Stop Recording
|
Functions |
void | PA_SetDefaultSound (u8 volume, int 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_InitStreamSound (void) |
void | PA_RegenStream (void) |
| Test if a stream need regen
|
void | FillTheGap (u8 PA_Channel, u32 size) |
| Fill datas in a stream tab
|
void | PA_PlaySoundEx2 (u8 PA_Channel, const void *data, s32 length, u8 volume, int freq, s16 format, BOOL repeat, int repeatPoint) |
| Play a given sound effect, but chose your format
|
void | PA_PlaySoundEx (u8 PA_Channel, const void *data, s32 length, u8 volume, int freq, s16 format) |
| Play a given sound effect, but chose your format
|
void | PA_PlayGBFSSoundEx (u8 PA_Channel, u16 FS_wav_number, u8 volume, int freq, s16 format) |
| Play a given sound effect, but chose your format, from GBFS
|
void | PA_PlayGBFSSoundEx2 (u8 PA_Channel, u16 FS_wav_number, u8 volume, int freq, s16 format, BOOL repeat, int repeatPoint) |
| Play a given sound effect, but chose your format and how to loop it, from GBFS
|
void | PA_PlayGBFSStreamSoundEx2 (u8 PA_Channel, u16 FS_wav_number, u8 volume, int freq, s16 format, BOOL repeat, int repeatPoint) |
void | PA_PlayFSSoundEx (u8 PA_Channel, u16 PAFS_wav_number, u8 volume, int freq, s16 format) |
| Play a given sound effect, but chose your format, from PAFS
|
void | PA_PlayFSSoundEx2 (u8 PA_Channel, u16 PAFS_wav_number, u8 volume, int freq, s16 format, BOOL repeat, int repeatPoint) |
| Play a given sound effect, but chose your format, from PAFS
|
void | PA_PlaySound (u8 PA_Channel, const void *data, s32 length, u8 volume, u32 freq) |
| Play a given sound effect, with default format (raw)
|
void | PA_PlayGBFSSound (u8 PA_Channel, u16 FS_wav_number, u8 volume, u32 freq) |
| Play a given sound effect, with default format (raw), from GBFS
|
void | PA_PlayFSSound (u8 PA_Channel, u16 PAFS_wav_number, u8 volume, u32 freq) |
| Play a given sound effect, with default format (raw), from PAFS
|
void | PA_PlayGBFSSimpleSound (u8 PA_Channel, u16 FS_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_PlayFSSimpleSound (u8 PA_Channel, u16 PAFS_wav_number) |
| Simplest sound playing function... From PAFS... Takes the default options for volume, format, and rate (11025). You can change these options by using PA_SetDefaultSound
|
void | PA_PlayGBFSMod (u16 FS_mod_number) |
| Play a mod from GBFS... Warning, it copies to RAM, so big mods will make the DS crash...
|
void | PA_PlayFSMod (u16 PAFS_mod_number) |
| Play a mod from PAFS... Warning, it copies to RAM, so big mods will make the DS crash...
|
void | PA_StopStream (u8 PA_Channel) |
void | PA_PauseStream (u8 PA_Channel) |
void | PA_UnpauseStream (u8 PA_Channel) |
| Stop a Stream
|
void | PA_MicStartRecording (s8 *buffer, int length) |