#include <revolution.h>
#include <revolution/sp.h>
void SPInitSoundTable(SPSoundTable *table, u8 *samples, u8 *zerobuffer);
table |
pointer to SPSoundTable for initialization |
samples |
pointer to the sound data that corresponds to SPSoundTable |
zerobuffer |
Pointer to the zero buffer. (Not used. Specify NULL.) |
None.
This function initializes the sound table (SPSoundTable), loaded from a disc, etc., to memory. It uses samples, provided by arguments, to update individual SE information (SPSoundEntry) in the sound table. SPSoundTable must be initialized before playing SE.
Note: SPInitSoundTable can only be called once for the same SPSoundTable.
2006/11/21 Added an explanation to the arguments about the zero buffer no longer being necessary.
2006/03/01 Initial version.
CONFIDENTIAL