|
◆ ComputeSpeakerVolumesDirect()
Compute a direct speaker assignment volume matrix with proper downmixing rules between two channel configurations. You may use the returned volume matrix with IAkGlobalPluginContext::MixNinNChannels.
![](/images/2023.1.6_8555/?source=SDK&id=images/Note.gif) | 备注: ComputePositioning is more general than this one, as it can also compute speaker gains for non-3D spatialization, and should be favored. |
- 返回
- AK_Success if successful, AK_Fail otherwise.
- 参见
- IAkGlobalPluginContext
- 参数
-
in_inputConfig | Channel configuration of the input. |
in_outputConfig | Channel configuration of the mixer output. |
in_fCenterPerc | Center percentage. Only applies to mono inputs with standard output configurations that have a center channel. |
out_mxVolumes | Returned volumes matrix. Must be preallocated using AK::SpeakerVolumes::Matrix::GetRequiredSize() (see AK::SpeakerVolumes::Matrix services). |
|