axvpb.sync

Syntax

#define AX_SYNC_NONEWPARAMS         0x00000000
#define AX_SYNC_USER_SRCSELECT      0x00000001
#define AX_SYNC_USER_MIXCTRL        0x00000002
#define AX_SYNC_USER_STATE          0x00000004
#define AX_SYNC_USER_TYPE           0x00000008
#define AX_SYNC_USER_MIX            0x00000010
#define AX_SYNC_USER_ITD            0x00000020
#define AX_SYNC_USER_ITDTARGET      0x00000040
#define AX_SYNC_USER_DPOP           0x00000080
#define AX_SYNC_USER_VE             0x00000100
#define AX_SYNC_USER_VEDELTA        0x00000200
#define AX_SYNC_USER_ADDR           0x00000400
#define AX_SYNC_USER_LOOP           0x00000800
#define AX_SYNC_USER_LOOPADDR       0x00001000
#define AX_SYNC_USER_ENDADDR        0x00002000
#define AX_SYNC_USER_CURRADDR       0x00004000
#define AX_SYNC_USER_ADPCM          0x00008000
#define AX_SYNC_USER_SRC            0x00010000
#define AX_SYNC_USER_SRCRATIO       0x00020000
#define AX_SYNC_USER_ADPCMLOOP      0x00040000
#define AX_SYNC_USER_LPF            0x00080000
#define AX_SYNC_USER_LPF_COEF       0x00100000
#define AX_SYNC_USER_BIQUAD         0x00200000
#define AX_SYNC_USER_BIQUAD_COEF    0x00400000

#define AX_SYNC_USER_REMOTE         0x00800000
#define AX_SYNC_USER_RMTMIXCTRL     0x01000000
#define AX_SYNC_USER_RMTMIX         0x02000000
#define AX_SYNC_USER_RMTDPOP        0x04000000
#define AX_SYNC_USER_RMTSRC         0x08000000
#define AX_SYNC_USER_RMTIIR         0x10000000
#define AX_SYNC_USER_RMTIIR_COEF1   0x20000000
#define AX_SYNC_USER_RMTIIR_COEF2   0x40000000

#define AX_SYNC_USER_ALLPARAMS      0x80000000

u32 sync;

Description

The sync parameter controls synchronization between an application and the DSP parameter blocks. When calling the AXSetVoice* functions, the appropriate sync flags are asserted automatically. If the application modifies the parameter block values directly, the application is responsible for setting the appropriate sync flags manually. Note: Interrupts must be disabled while modifying the sync flags. AX will reset the sync flags for each audio frame.

Synchronization flags exist as bits which are OR'd into a single 32-bit word. The flags are defined as follows:

Some synchronization flags take precedence over others:

Some parameters are synchronized from the DSP parameter block to the user parameter block:

Revision History

2006/11/13 Deleted definitions relating to HPF. Added definitions relating to Biquad. Added definitions relating to RMTIIR.
2006/07/27 Added support for the Wii Remote speaker.
2006/03/01 Initial version.


CONFIDENTIAL