Functions | |
| u16 | audioGetFreeMemory (void) |
| Get available SPC700 RAM for samples. | |
| u8 | audioGetSampleInfo (u8 id, AudioSample *info) |
| Get information about a loaded sample. | |
| u8 | audioLoadSample (u8 id, const u8 *brrData, u16 size, u16 loopPoint) |
| Load a BRR sample into SPC700 RAM. | |
| void | audioUnloadSample (u8 id) |
| Unload a sample from a slot. | |
| u16 audioGetFreeMemory | ( | void | ) |
Get available SPC700 RAM for samples.
| u8 audioGetSampleInfo | ( | u8 | id, |
| AudioSample * | info ) |
Get information about a loaded sample.
| id | Sample ID |
| info | Pointer to AudioSample struct to fill |
Load a BRR sample into SPC700 RAM.
| id | Sample slot (0-63) |
| brrData | Pointer to BRR sample data |
| size | Size in bytes (must be multiple of 9) |
| loopPoint | Loop offset in bytes, or 0 for no loop |
| void audioUnloadSample | ( | u8 | id | ) |
Unload a sample from a slot.
| id | Sample slot (0-63) |
Any voices playing this sample will be stopped.