NNS_SndHeapClear

Syntax

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

Arguments

heap The sound heap handle.

Return Values

None.

Description

Deallocates 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

2004/09/02 Added a note regarding thread synchronization.
2004/06/01 Initial version.


CONFIDENTIAL