NNS_SndPlayerSetSeqArcNo

Syntax

#include <nnsys/snd.h>
void NNS_SndPlayerSetSeqArcNo(
        NNSSndHandle* handle,
        int seqArcNo,
        int index );

Arguments

handle The sound handle pointer.
seqArcNo Sequence archive number.
index The index number of the sequence archive.

Return Values

None.

Description

Sets the sequence archive number.

This function sets the sequence archive of the sequence that is bound to the sound handle handle. This function does not perform any action if the stream handle is invalid.

The setting the sequence archive number will allow for the stopping of the sequence by using the assignment of the set sequence archive number. For details, refer to functions such as the NNS_SndPlayerStopSeqBySeqArcNo function or the NNS_SndPlayerCountPlayingSeqBySeqArcNo function.

Note

This function is called inside the NNS_SndArcPlayerStartSeqArc* functions. If this function is called again, the set values will be overwritten.

Only call either this function or the NNS_SndPlayerSetSeqNo function. If both functions are called, the last function that is set will be the function that is valid.

See Also

NNS_SndPlayerStopSeqBySeqArcNo, NNS_SndPlayerCountPlayingSeqBySeqArcNo, NNS_SndArcPlayerStartSeqArc*, NNS_SndPlayerSetSeqNo

Revision History

2004/06/01 Initial version.


CONFIDENTIAL