#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;
The rmtMixerCtrl parameter sets mixing for the controller speaker.
The DSP prepares the main bus and Aux bus for each controller speaker. rmtMixerCtrl specifies whether mixing is necessary and/or the mixing method (with/without ramping) for each bus for each controller. Making the appropriate settings with rmtMixerCtrl makes it possible to skip unnecessary mixing and keep the consumption of extra DSP cycles to a minimum.
Assert the AX_SYNC_USER_RMTMIXCTRL synchronization flag in axvpb.sync, whenever rmtMixerCtrl has changed. Please refer to the source code for the MIX library for examples using rmtMixerCtrl.
Note: No feature for switching the mixer using rmtMixerCtrl is implemented.
axvpb.sync
axvpb.pb.rmtMix
AXSetVoiceRmtMix
2006/07/31 Initial version.
CONFIDENTIAL