|
Wwise SDK 2023.1.17
|
#include <AkSpeakerConfig.h>
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 void | SetObject () |
| Set channel config as an object-based configuration (implies dynamic number of objects). 更多... | |
| AkForceInline void | SetSameAsMainMix () |
| Set channel config as the main mix channel configuration 更多... | |
| AkForceInline void | SetSameAsPassthrough () |
| Set channel config as the passthrough mix channel configuration 更多... | |
| 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 | HasLFE () const |
| AkForceInline bool | HasCenter () const |
静态 Public 成员函数 | |
| static AkForceInline AkChannelConfig | Standard (AkUInt32 in_uChannelMask) |
| Construct standard channel config from channel mask 更多... | |
| static AkForceInline AkChannelConfig | Anonymous (AkUInt32 in_uNumChannels) |
| static AkForceInline AkChannelConfig | Ambisonic (AkUInt32 in_uNumChannels) |
| Construct ambisonic channel config from number of channels (NOT order) 更多... | |
| static AkForceInline AkChannelConfig | Object () |
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:
在文件 AkSpeakerConfig.h 第 496 行定义.