#include <revolution.h> void AXSetVoiceLoopAddr(AXVPB *pvpb, u32 address);
pvpb |
Pointer to the specified voice. |
address |
New loop-start address. |
None.
AXSetVoiceLoopAddr() sets a new start loop address for the specified voice. As an example, consider a synthesizer that supports release loops. Upon encountering a keyoff event, the application could set new loop points using AXSetVoiceLoopAddr() and AXSetVoiceEndAddr(). This function also asserts the appropriate synchronization flags in axvpb.sync.
Note: The interpretation of the address (by the DSP) will depend on the format of the sample being played by the voice. For example, the address must reference 16-bit words for 16-bit PCM samples, or 4-bit nibbles for ADPCM samples.
axvpb.pb.addr
AXSetVoiceAddr
AXSetVoiceEndAddr
2006/03/01 Initial version.
CONFIDENTIAL