Firelight Technologies FMOD Studio API
Sets the priority for the channel after it has been played.
FMOD_RESULT Channel::setPriority(
int priority
);
FMOD_RESULT FMOD_Channel_SetPriority(
FMOD_CHANNEL *channel,
int priority
);
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
When more channels than available are played the virtual channel system will choose existing channels to steal. Lower priority sounds will always be stolen before higher priority sounds. For channels of equal priority, that with the quietest ChannelControl::getAudibility value will be stolen.
Version 1.03.06 Built on Apr 17, 2014