版本

menu_open
Wwise SDK 2023.1.3

◆ ComputeSpeakerVolumesDirect()

virtual AKRESULT AK::IAkMixerPluginContext::ComputeSpeakerVolumesDirect ( AkChannelConfig  in_inputConfig,
AkChannelConfig  in_outputConfig,
AkReal32  in_fCenterPerc,
AK::SpeakerVolumes::MatrixPtr  out_mxVolumes 
)
pure virtual

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.

备注: 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_inputConfigChannel configuration of the input.
in_outputConfigChannel configuration of the mixer output.
in_fCenterPercCenter percentage. Only applies to mono inputs with standard output configurations that have a center channel.
out_mxVolumesReturned volumes matrix. Must be preallocated using AK::SpeakerVolumes::Matrix::GetRequiredSize() (see AK::SpeakerVolumes::Matrix services).

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅