版本

menu_open
警告:系统已根据您所用大版本 (2019.2.15.7667) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2019.2.15
AkChannelConfig结构体 参考

Public 成员函数

AkForceInline  AkChannelConfig ()
  Constructor. Clears / sets the channel config in "invalid" state (IsValid() returns false). 更多...
 
AkForceInline  AkChannelConfig (AkUInt32 in_uNumChannels, AkUInt32 in_uChannelMask)
  Constructor. Sets number of channels, and config type according to whether channel mask is defined or not. If defined, it must be consistent with the number of channels. 更多...
 
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 () const
  Returns true if valid, false otherwise (as when it is constructed, or invalidated using Clear()). 更多...
 
AkForceInline AkUInt32  Serialize () 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 属性

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

详细描述

Defines a channel configuration. Examples:

// Create a stereo configuration.
// Create a 7.1.4 configuration (7.1 plus 4 height channels).
// or
// Create a 3rd order ambisonic configuration.
cfg.SetAmbisonic(16); // pass in the number of spherical harmonics, (N+1)^2, where N is the ambisonics order.
// Invalidate (usually means "As Parent")
cfg.Clear();

在文件 AkSpeakerConfig.h504 行定义.


该结构体的文档由以下文件生成:
AkForceInline void SetAmbisonic(AkUInt32 in_uNumChannels)
Set channel config as an ambisonic configuration specified with given number of channels.
Definition: AkSpeakerConfig.h:571
#define AK_SPEAKER_SETUP_DOLBY_7_1_4
Dolby 7.1.4 setup channel mask
Definition: AkSpeakerConfig.h:105
AkForceInline void Clear()
Clear the channel config. Becomes "invalid" (IsValid() returns false).
Definition: AkSpeakerConfig.h:536
#define AK_SPEAKER_SETUP_AURO_11POINT1_740
Auro-11.1 (7+4) setup channel mask
Definition: AkSpeakerConfig.h:91
AkForceInline void SetStandard(AkUInt32 in_uChannelMask)
Set channel config as a standard configuration specified with given channel mask.
Definition: AkSpeakerConfig.h:544
#define AK_SPEAKER_SETUP_STEREO
2.0 setup channel mask
Definition: AkSpeakerConfig.h:60

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅