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).
The priority affects the behavior when getting voices and when controlling the DSP processing load. See the description of the nn::snd::CTR::AllocVoice function.
Among voices that are set to the same level of priority, the voice that was set last takes the highest priority. Because the nn::snd::CTR::AllocVoice function sets the level of priority internally, that function is also included in the above description.
CONFIDENTIAL