NNS_SndHeapDestroy

Syntax

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

Arguments

heap The sound heap handle.

Return Values

None.

Description

This function destroys the sound heap.

The callback function that was set in the NNS_SndHeapAlloc function will be called for each memory block that has been allocated.

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/08/10 Initial version.


CONFIDENTIAL