Version

menu_open
Wwise SDK 2022.1.11

◆ ComputePlanarVBAPGains()

virtual AKRESULT AK::IAkMixerPluginContext::ComputePlanarVBAPGains ( AkReal32  in_fAngle,
AkChannelConfig  in_outputConfig,
AkReal32  in_fCenterPerc,
AK::SpeakerVolumes::VectorPtr  out_vVolumes 
)
pure virtual

Compute panning gains on the plane given an incidence angle and channel configuration. 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_fAngleIncident angle, in radians [-pi,pi], where 0 is the azimuth (positive values are clockwise)
in_outputConfigDesired output configuration.
in_fCenterPercCenter percentage. Only applies to mono inputs to outputs that have no center.
out_vVolumesReturned volumes (see AK::SpeakerVolumes::Vector services). Must be allocated prior to calling this function with the size returned by AK::SpeakerVolumes::Vector::GetRequiredSize() for the desired configuration.

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