#include <revolution.h>
#include <revolution/axart.h>
typedef struct
{
AXART_ART art;
// runtime user parameters
s32 delta;
s32 target;
s32 attenuation;
} AXART_AUXA_VOLUME_ENV;
| art | AXART articulator descriptor maintained by AXART. Do not write to this parameter. |
|---|---|
| delta | Volume attenuation delta per audio frame, in decibels (0x00010000 = 0.1 dB). |
| target | Volume attenuation target, 0x00010000 = 0.1 dB. |
| attenuation | Current envelope output. |
AXART_AUXA_VOLUME_ENV is a data structure used to define an AuxA volume envelope sound articulator. This articulator will apply an AuxA volume attenuation delta for an AXART_SOUND until the AuxA volume attenuation reaches the target. Before calling the AXARTAddArticulator function for the AXARTInitArtAuxAVolumeEnv, the user application must call the AXARTInitArtAuxAVolumeEnv function.
AXARTInitArtAuxAVolumeEnv, AXARTAddArticulator, AXART_ART, AXART_SOUND
2006/03/01 Initial version.
CONFIDENTIAL