#include <cafe/ax.h> #define AX_PRIORITY_NODROP 31 #define AX_PRIORITY_LOWEST 1 void AXSetVoicePriority(AXVPB *p, u32 priority);
|p||Pointer to the voice.|
|priority||New priority for the voice. Set from
Changes the priority for the specified 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.
2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup Pass.
2012/01/26 Update to Audio API v2.0.
2011/02/21 Initial Version