Table des matières

Wwise SDK 2018.1.11

◆ GetParentChannelConfig()

virtual AKRESULT AK::IAkPluginContextBase::GetParentChannelConfig ( AkChannelConfig out_channelConfig ) const
pure virtual

Return the channel configuration of the parent node that this effect will mix into. GetParentChannelConfig() may be used to set the output configuration of an out-of-place effect to avoid additional up/down mixing stages. Please note however that it is possible for out-of-place effects later in the chain to change this configuration. Returns out_channelConfig.IsValid() == false when the node is an actor-mixer (voice), because a voice may be routed to several mix chains.

Returns
AK_Success if the channel config of the primary, direct parent bus could be determined, AK_Fail otherwise.
Parameters
out_channelConfig Channel configuration of parent node (downstream bus).