#include <cafe/ax.h> #define AX_PRIORITY_NODROP 31 #define AX_PRIORITY_LOWEST 1 void AXSetMultiVoicePriority (AXMVPB *mv, u32 priority);
|mv||Pointer to the multi-voice.|
|priority||New priority for the voice. Set from
Changes the priority for the specified multi-voice. As an example, consider a synthesizer application that acquires a voice to produce a note in a score. After the keyoff event is encountered, the voice enters the release phase and the priority of the voice may then be lowered to facilitate voice reacquisition.
Voices having priority
AX_PRIORITY_NODROP may still be dropped by AX if
rendering resources are exceeded for an audio frame.
2011/11/15 Initial Version