NNS_SndPlayerSetSeqNo

Syntax

#include <nnsys/snd.h>
void NNS_SndPlayerSetSeqNo( NNSSndHandle* handle, int seqNo );

Arguments

handle The sound handle pointer.
seqNo Sequence number.

Return Values

None.

Description

Sets the sequence number.

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

If you set the sequence number, you can specify that sequence by its number later and perform operations on it such as stopping it. For details, refer to functions such as the NNS_SndPlayerStopSeqBySeqNo function or the NNS_SndPlayerCountPlayingSeqBySeqNo function.

Note

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

Call either this function or the NNS_SndPlayerSetSeqArcNo function, not both of them. If both functions are called, the last value that is set will be the one that is valid.

See Also

NNS_SndPlayerStopSeqBySeqNo, NNS_SndPlayerCountPlayingSeqBySeqNo, NNS_SndArcPlayerStartSeq*, NNS_SndPlayerSetSeqArcNo

Revision History

2004/06/01 Initial version.


CONFIDENTIAL