版本

    其他文档

menu_open

AkChannelConfig Struct Reference

Defines a channel configuration. More...

List of all members.

Public Member Functions

AkForceInline  AkChannelConfig ()
  Constructor. Clears / sets the channel config in "invalid" state (IsValid() returns false).
AkForceInline  AkChannelConfig (AkChannelMask in_uChannelMask)
  Copy constructor.
AkForceInline bool  operator!= (AkUInt32 in_uBitField)
  Operator != with a 32-bit word.
AkForceInline void  Clear ()
  Clear the channel config. Becomes "invalid" (IsValid() returns false).
AkForceInline void  SetStandard (AkUInt32 in_uChannelMask)
  Set channel config as a standard configuration specified with given channel mask.
AkForceInline void  SetStandardOrAnonymous (AkUInt32 in_uNumChannels, AkUInt32 in_uChannelMask)
  Set channel config as either a standard or an anonymous configuration, specified with both a given channel mask (0 if anonymous) and a number of channels (which must match the channel mask if standard).
AkForceInline void  SetAnonymous (AkUInt32 in_uNumChannels)
  Set channel config as an anonymous configuration specified with given number of channels.
AkForceInline void  SetAmbisonic (AkUInt32 in_uNumChannels)
  Set channel config as an ambisonic configuration specified with given number of channels.
AkForceInline bool  IsValid ()
  Returns true if valid, false otherwise (as when it is constructed, or invalidated using Clear()).
AkForceInline void  Serialize (AkUInt32 &out_uChannelConfig) const
  Serialize channel config into a 32-bit word.
AkForceInline void  Deserialize (AkUInt32 in_uChannelConfig)
  Deserialize channel config from a 32-bit word.
AkForceInline AkChannelConfig  RemoveLFE () const
  Returns a new config based on 'this' with no LFE.
AkForceInline AkChannelConfig  RemoveCenter () const
  Returns a new config based on 'this' with no Front Center channel.
AkForceInline bool  operator== (const AkChannelConfig &in_other) const
  Operator ==.
AkForceInline bool  operator!= (const AkChannelConfig &in_other) const
  Operator !=.
AkForceInline bool  IsChannelConfigSupported () const
AkForceInline bool  HasLFE () const
AkForceInline bool  HasCenter () const

Public Attributes

AkUInt32  uNumChannels:8
  Number of channels.
AkUInt32  eConfigType:4
  Channel config type (AkChannelConfigType).
AkUInt32  uChannelMask:20
  Channel mask (configuration).

Detailed Description

Defines a channel configuration.

Definition at line 103 of file AkCommonDefs.h.


The documentation for this struct was generated from the following file:

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅