版本

menu_open
Wwise SDK 2023.1.3
AkAudioFormat结构体 参考

Defines the parameters of an audio buffer format. 更多...

#include <AkCommonDefs.h>

Public 成员函数

AkForceInline AkUInt32 GetNumChannels () const
 
AkForceInline bool HasLFE () const
 
AkForceInline bool HasCenter () const
 
AkForceInline AkUInt32 GetBitsPerSample () const
 
AkForceInline AkUInt32 GetBlockAlign () const
 
AkForceInline AkUInt32 GetTypeID () const
 
AkForceInline AkUInt32 GetInterleaveID () const
 
void SetAll (AkUInt32 in_uSampleRate, AkChannelConfig in_channelConfig, AkUInt32 in_uBitsPerSample, AkUInt32 in_uBlockAlign, AkUInt32 in_uTypeID, AkUInt32 in_uInterleaveID)
 
AkForceInline bool operator== (const AkAudioFormat &in_other) const
 
AkForceInline bool operator!= (const AkAudioFormat &in_other) const
 

Public 属性

AkUInt32 uSampleRate
 Number of samples per second 更多...
 
AkChannelConfig channelConfig
 Channel configuration. 更多...
 
AkUInt32 uBitsPerSample:6
 Number of bits per sample. 更多...
 
AkUInt32 uBlockAlign:10
 Number of bytes per sample frame. (For example a 5.1 PCM 16bit should have a uBlockAlign equal to 6(5.1 channels)*2(16 bits per sample) = 12. 更多...
 
AkUInt32 uTypeID:2
 Data type ID (AkDataTypeID). 更多...
 
AkUInt32 uInterleaveID:1
 Interleave ID (AkDataInterleaveID). 更多...
 

详细描述

Defines the parameters of an audio buffer format.

在文件 AkCommonDefs.h62 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅