axvpb.pb.rmtMixerCtrl

Syntax

#define AX_PB_MIXCTRL_MAIN0       0x0001  // Controller 0 main
#define AX_PB_MIXCTRL_MAIN0_RAMP  0x0002  // Controller 0 main ramping
#define AX_PB_MIXCTRL_AUX0        0x0004  // Controller 0 Aux
#define AX_PB_MIXCTRL_AUX0_RAMP   0x0008  // Controller 0 Aux ramping

#define AX_PB_MIXCTRL_MAIN1       0x0010  // Controller 1 main
#define AX_PB_MIXCTRL_MAIN1_RAMP  0x0020  // Controller 1 main ramping
#define AX_PB_MIXCTRL_AUX1        0x0040  // Controller 1 Aux
#define AX_PB_MIXCTRL_AUX1_RAMP   0x0080  // Controller 1 Aux ramping

#define AX_PB_MIXCTRL_MAIN2       0x0100  // Controller 2 main
#define AX_PB_MIXCTRL_MAIN2_RAMP  0x0200  // Controller 2 main ramping
#define AX_PB_MIXCTRL_AUX2        0x0400  // Controller 2 Aux
#define AX_PB_MIXCTRL_AUX2_RAMP   0x0800  // Controller 2 Aux ramping

#define AX_PB_MIXCTRL_MAIN3       0x1000  // Controller 3 main
#define AX_PB_MIXCTRL_MAIN3_RAMP  0x2000  // Controller 3 main ramping
#define AX_PB_MIXCTRL_AUX3        0x4000  // Controller 3 Aux
#define AX_PB_MIXCTRL_AUX3_RAMP   0x8000  // Controller 3 Aux ramping

u16 rmtMixerCtrl;

Description

The rmtMixerCtrl parameter sets mixing for the controller speaker.

DSP prepares the main and Aux buses for each controller speaker. The rmtMixerCtrl parameter specifies whether mixing is necessary and/or the mixing method (with or without ramping) for each bus of each controller. Making appropriate settings with rmtMixerCtrl allows you to skip unnecessary mixing and to keep the consumption of extra DSP cycles to a minimum.

Whenever rmtMixerCtrl has changed, assert the AX_SYNC_USER_RMTMIXCTRL synchronization flag in axvpb.sync. For examples of using rmtMixerCtrl, refer to the MIX library source code.

Note: A feature for switching the mixer using rmtMixerCtrl has not been implemented.

See Also

axvpb.sync
axvpb.pb.rmtMix
AXSetVoiceRmtMix

Revision History

2006/07/31 Initial version.


CONFIDENTIAL