#include <revolution/hbm.h>
void HBMCreateSound( const void* soundData, void* memBuf, u32 memSize );
soundData |
Address of sound archive data. |
memBuf |
The starting address of the buffer that stores the sound instance (this address must be 32-byte aligned). |
memSize |
Size of memory allocated for the sound instance. |
None.
Creates a sound instance.
In soundData, pass the address of the sound archive data that is laid out in memory. Allocate the memory for storing a sound instance of the HOME Menu within the function. Set memSize to a value greater than or equal to HBM_MEM_SIZE_SOUND (a value large enough to store a sound instance). Also, do not release after creation until HBMDeleteSound is called.
CONFIDENTIAL