NNS_SndHeapClear

C Specification

#include <nnsys/snd.h>
void NNS_SndHeapClear( NNSSndHeapHandle heap );

Arguments

heap The sound heap handle.

Return Values

None.

Description

De-allocates all memory in the sound heap.

The callback function set with the NNS_SndHeapAlloc function is called for each de-allocated memory block.

Note

When the stream buffer (allocated using either NNS_SndArcStrmInit or NNS_SndArcStrmSetupPlayer) is in the heap, it synchronizes with the stream thread in this function.

See Also

NNS_SndHeapAlloc,
NNS_SndArcStrmInit,
NNS_SndArcStrmSetupPlayer

Revision History

09/02/2004 Added a Note regarding thread synchronization.

06/01/2004 Initial version.