NNS_SndPlayerSetPlayerPriority

Syntax

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

Arguments

handle The sound handle pointer.
priority The player priority value. The value is in the 0-127 range; a greater value indicates higher priority.

Return Values

None.

Description

Changes the player priority of the sequence.

This function changes the player priority of the sequence that is bound to the sound handle handle. This function does not perform any action if the sound handle is invalid.

To assign a player priority at the time of sequence playback, use the NNS_SndArcPlayerStartSeqEx function or the NNS_SndArcPlayerStartSeqArcEx function. Use this function to change the player priority after playback occurs.

See Also

NNS_SndArcPlayerStartSeqEx, NNS_SndArcPlayerStartSeqArcEx

Revision History

2004/06/01 Initial version.


CONFIDENTIAL