#include <revolution.h> typedef struct _AXPBVE { u16 currentVolume; //.15 volume at start of frame s16 currentDelta; //signed per-sample delta for currentVolume } AXPBVE; void AXSetVoiceVe(AXVPB *pvpb, AXPBVE *ve);
pvpb |
Pointer to the specified voice. |
ve |
Pointer to structure of type AXPBVE. Values are initialized by the user audio application. |
None.
AXSetVoiceVe() initializes the volume envelope for a voice. If a voice is already running, use AXSetVoiceVeDelta() to change the volume envelope. This function also asserts the appropriate synchronization flags in axvpb.sync.
03/01/2006 Initial version.