Version

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.

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_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).

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