NNS_SndPlayerCountPlayingSeq*

Syntax

#include <nnsys/snd.h>
int NNS_SndPlayerCountPlayingSeqByPlayerNo( int playerNo );
int NNS_SndPlayerCountPlayingSeqBySeqNo( int seqNo );
int NNS_SndPlayerCountPlayingSeqBySeqArcNo( int seqArcNo );
int NNS_SndPlayerCountPlayingSeqBySeqArcIdx( int seqArcNo, int index );

Arguments

playerNo Player number.
seqNo Sequence number.
seqArcNo Sequence archive number.
index Index number in the sequence archive.

Return Values

Returns the number of sequences currently playing.

Description

The NNS_SndPlayerCountPlayingSeqByPlayerNo function counts the number of sequences that are currently playing on the player having player number playerNo.

The NNS_SndPlayerCountPlayingSeqBySeqNo function counts the number of sequences currently playing which have the sequence number seqNo. This function counts the number of sequences for which the sequence number set by the NNS_SndPlayerSetSeqNo function and seqNo are the same.

The NNS_SndPlayerCountPlayingSeqBySeqArcNo function counts the number of sequences playing that have the specified sequence archive number seqArcNo. This function counts the number of sequences for which the sequence archive number set by the NNS_SndPlayerSetSeqArcNo function and seqArcNo are the same. The NNS_SndPlayerCountPlayingSeqBySeqArcIdx function counts the number of sequences for which the sequence archive number seqArcNo and the index number index are both the same.

Note

The value that these functions return is not updated unless either a function that stops a sequence immediately, or the NNS_SndMain function is called.

See Also

NNS_SndPlayerSetSeqNo, NNS_SndPlayerSetSeqArcNo, NNS_SndMain

Revision History

2004/06/01 Initial version.


CONFIDENTIAL