Version

menu_open
Wwise SDK 2022.1.12

◆ Compute3DPositioning() [2/2]

virtual AKRESULT AK::IAkMixerPluginContext::Compute3DPositioning ( const AkWorldTransform in_emitter,
const AkWorldTransform in_listener,
AkReal32  in_fCenterPerc,
AkReal32  in_fSpread,
AkReal32  in_fFocus,
AkChannelConfig  in_inputConfig,
AkChannelMask  in_uInputChanSel,
AkChannelConfig  in_outputConfig,
AK::SpeakerVolumes::MatrixPtr  out_mxVolumes 
)
pure virtual

Compute standard 3D positioning. You may use the returned volume matrix with IAkGlobalPluginContext::MixNinNChannels.

Note: This function is more complete and more efficient than the Compute3DPositioning service that uses spherical coordinates, and should be favored.
Note: ComputePositioning is more general than this one, as it can also compute speaker gains for non-3D spatialization, and should be favored.
Returns
AK_Success if successful, AK_Fail otherwise.
See also
IAkGlobalPluginContext
Parameters
in_emitterEmitter transform.
in_listenerListener transform.
in_fCenterPercCenter percentage. Only applies to mono inputs to outputs that have a center.
in_fSpreadSpread ([0,1]).
in_fFocusFocus ([0,1]).
in_inputConfigChannel configuration of the input.
in_uInputChanSelMask of input channels selected for panning (excluded input channels don't contribute to the output).
in_outputConfigDesired output configuration.
out_mxVolumesReturned volumes matrix. Must be preallocated using AK::SpeakerVolumes::Matrix::GetRequiredSize() (see AK::SpeakerVolumes::Matrix services).

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise