|
◆ Compute3DPositioning() [2/2]
Compute standard 3D positioning. You may use the returned volume matrix with IAkGlobalPluginContext::MixNinNChannels.
![](/images/2023.1.6_8555/?source=SDK&id=images/Note.gif) | Note: This function is more complete and more efficient than the Compute3DPositioning service that uses spherical coordinates, and should be favored. |
![](/images/2023.1.6_8555/?source=SDK&id=images/Note.gif) | 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_emitter | Emitter transform. |
in_listener | Listener transform. |
in_fCenterPerc | Center percentage. Only applies to mono inputs to outputs that have a center. |
in_fSpread | Spread ([0,1]). |
in_fFocus | Focus ([0,1]). |
in_inputConfig | Channel configuration of the input. |
in_uInputChanSel | Mask of input channels selected for panning (excluded input channels don't contribute to the output). |
in_outputConfig | Desired output configuration. |
out_mxVolumes | Returned volumes matrix. Must be preallocated using AK::SpeakerVolumes::Matrix::GetRequiredSize() (see AK::SpeakerVolumes::Matrix services). |
|