HBMCreateSound

Syntax


#include <revolution/hbm.h>

void HBMCreateSound( const void* soundData, void* memBuf, u32 memSize );

Arguments

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.

Return Values

None.

Description

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.

See Also

HBMDeleteSound

Revision History

2007/10/26
Revised the header explanation.
2007/05/09
Initial version.

CONFIDENTIAL