目录

Wwise SDK 2019.1.6

◆ 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.

返回
AK_Success if successful, AK_Fail otherwise.
参数
in_fAngle Incident angle, in radians [-pi,pi], where 0 is the azimuth (positive values are clockwise)
in_outputConfig Desired output configuration.
in_fCenterPerc Center percentage. Only applies to mono inputs to outputs that have no center.
out_vVolumes Returned 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.