nn::snd::CTR::Voice::SetPriority Member Function
void SetPriority(
s32 priority
);
| Name | Description | |
|---|---|---|
| in | priority | Priority |
Sets the priority of a voice.
The priority takes a value between 0 (the lowest) and VOICE_PRIORITY_NODROP (the highest). Processing runs in LIFO (last in, first out) order.
The priority effects the getting of Voice and the operation of DSP processing load control times. See the description of the nn::snd::CTR::AllocVoice function.
The Voice specified as VOICE_PRIORITY_NODROP in the nn::snd::CTR::AllocVoice function cannot have its priority changed in this function. In addition, a Voice with a normal priority (a priority below VOICE_PRIORITY_NODROP) cannot have its priority changed to VOICE_PRIORITY_NODROP.
CONFIDENTIAL