typedef struct _AXPBADPCMLOOP
{
u16 loop_pred_scale; // predictor / scale combination (nibbles, as in hardware)
u16 loop_yn1; // y[n - 1]
u16 loop_yn2; // y[n - 2]
} AXPBADPCMLOOP;
The adpcmLoop member specifies the ADPCM decoder context for the loop point in a given sample. These values are generated by the Nintendo Revolution DSP-ADPCM encoder tool, and must be written into these parameters by the user audio application. When the DSP streaming cache reaches the end address of a sample and resets itself to the loop-start position, these values will be programmed into the ADPCM decoder hardware. If the sample is either 16-bit or 8-bit PCM, then these values must be initialized to zero by the user audio application.
Assert the AX_SYNC_USER_ADPCMLOOP in the axvpb.sync member when the loop context has changed.
axvpb.sync, AXSetVoiceAdpcmLoop
2006/03/01 Initial version.
CONFIDENTIAL