NNS_SndArcStrmSetupPlayer

Syntax

#include <nnsys/snd.h>
BOOL NNS_SndArcStrmSetupPlayer( NNSSndHeapHandle heap );

Arguments

heap Sound heap handle.

Return Values

Returns a boolean value to indicate if the setup is successful.

Description

This sets up a stream player based on stream player settings in the sound archive.

This function is called from the NNS_SndArcStrmInit function. Normally there is no need to call it.

Internally, this function sets the channels that the stream player will use, and allocates a stream buffer from the sound heap that is specified by heap. For each stream player, the stream buffer size must be 2048 (bytes) x the number of channels. The function will fail if it cannot allocate sufficient memory.

See Also

NNS_SndArcStrmInit

Revision History

2004/09/02 Initial version.


CONFIDENTIAL