#include <nnsys/snd.h>
BOOL NNS_SndArcSetup( NNSSndArc* arc, NNSSndHeapHandle heap, BOOL symbolLoadFlag );
arc |
Pointer to the sound archive structure. |
heap |
Sound heap handle. |
symbolLoadFlag |
Flag that determines whether to load symbol data. |
This function sets up the sound archive.
This function is called from the NNS_SndArcInit
function. Normally, there is no need for you to call it.
Internally, this function loads data required to manage the sound archive. It allocates memory for holding management data from the sound heap specified by heap
. The function will fail if it cannot allocate sufficient memory.
If the flag for whether to load symbol data, symbolLoadFlag
, is set to TRUE, this function can use the NNS_SndArcGet*Symbol
function to acquire symbol names. However, this consumes more of the sound heap heap
.
NNS_SndArcInit,
NNS_SndArcGet*Symbol
2004/09/02 Initial version.
CONFIDENTIAL