#include <cafe/ax.h> AXPB_ERROR_CODE AXSetMultiVoiceDeviceMix (AXMVPB *mv, AXPBDeviceType device, u32 Id, AXPBBusType bus, u16 vol, s16 volDelta);
|mv||Pointer to the multi-voice.|
Volume applied to each voice in the multi-voice (Unity =
Value added to the
Zero if successful, an error of type
Applies the volume and volume-delta values to each of the voice's output device (specified by
of multi-voice mv.
The values vol and volDelta define what volume a voice will be played at on the specified device and bus. If a voice has a nonzero volume on a given bus, it will have its audio data played on that bus, increasing the computational load of playing the multi-voice.
The multi-voice channel count should not exceed max number of channels for the device. For TV, the mv should be have no more than
AX_MAX_NUM_TV_CHS (6 for Wii U); for DRC, it should contain
AX_MAX_NUM_DRC_CHS channels and for remotes
This function is not to be confused with functions in the MIX library.
The MIX library is essentially built upon this function and provides high-level control over
AXPBCHMIX structures for each voice.
2013/10/20 Initial Version