Version

    Other Documentation

menu_open
Wwise SDK 2022.1.11

◆ ComputeSpeakerVolumesPanner()

virtual AKRESULT AK::IAkMixerPluginContext::ComputeSpeakerVolumesPanner ( AkSpeakerPanningType  in_ePannerType,
const AkVector in_position,
AkReal32  in_fCenterPct,
AkChannelConfig  in_inputConfig,
AkChannelConfig  in_outputConfig,
AK::SpeakerVolumes::MatrixPtr  out_mxVolumes 
)
pure virtual

Compute a volume matrix given the position of the panner (Wwise 2D panner). 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 3D spatialization, and should be favored.
Returns
AK_Success if successful, AK_Fail otherwise.
See also
IAkGlobalPluginContext
Parameters
in_ePannerTypePanner type
in_positionx,y,z panner position [-1,1]. Note that z has no effect at the moment.
in_fCenterPctCenter percentage.
in_inputConfigChannel configuration of the input.
in_outputConfigChannel configuration of the mixer output.
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