menu
 
版本
2024.1.2.8726

2024.1.2.8726

2023.1.10.8659

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open
Wwise SDK 2024.1.2
AkAudioBuffer类 参考

#include <AkCommonDefs.h>

Public 成员函数

 AkAudioBuffer ()
 Constructor. 更多...
 
AkForceInline void ClearData ()
 Clear data pointer. 更多...
 
AkForceInline void Clear ()
 Clear members. 更多...
 
Channel queries.
AkForceInline AkUInt32 NumChannels () const
 Get the number of channels. 更多...
 
AkForceInline bool HasLFE () const
 Returns true if there is an LFE channel present. 更多...
 
AkForceInline AkChannelConfig GetChannelConfig () const
 
Interleaved interface
AkForceInline void * GetInterleavedData ()
 
void AttachInterleavedData (void *in_pData, AkUInt16 in_uMaxFrames, AkUInt16 in_uValidFrames)
 Attach interleaved data. Allocation is performed outside. 更多...
 
void AttachInterleavedData (void *in_pData, AkUInt16 in_uMaxFrames, AkUInt16 in_uValidFrames, AkChannelConfig in_channelConfig)
 Attach interleaved data with a new channel config. Allocation is performed outside. 更多...
 

Deinterleaved interface

void * pData
 Start of the audio buffer. 更多...
 
AkChannelConfig channelConfig
 Channel config. 更多...
 
AkUInt16 uMaxFrames
 Number of sample frames the buffer can hold. Access through AkAudioBuffer::MaxFrames(). 更多...
 
AKRESULT eState
 Execution status 更多...
 
AkUInt16 uValidFrames
 Number of valid sample frames in the audio buffer 更多...
 
AkForceInline bool HasData () const
 Check if buffer has samples attached to it. 更多...
 
AkSampleTypeGetChannel (AkUInt32 in_uIndex)
 
AkSampleTypeGetLFE ()
 
void ZeroPadToMaxFrames ()
 
AkForceInline void AttachContiguousDeinterleavedData (void *in_pData, AkUInt16 in_uMaxFrames, AkUInt16 in_uValidFrames, AkChannelConfig in_channelConfig)
 Attach deinterleaved data where channels are contiguous in memory. Allocation is performed outside. 更多...
 
AkForceInline void * DetachContiguousDeinterleavedData ()
 Detach deinterleaved data where channels are contiguous in memory. The address of the buffer is returned and fields are cleared. 更多...
 
bool CheckValidSamples ()
 
void RelocateMedia (AkUInt8 *in_pNewMedia, AkUInt8 *in_pOldMedia)
 
AkForceInline AkUInt16 MaxFrames () const
 
static AkUInt32 StandardToPipelineIndex (AkChannelConfig in_channelConfig, AkUInt32 in_uChannelIdx)
 

详细描述

Audio buffer structure including the address of an audio buffer, the number of valid frames inside, and the maximum number of frames the audio buffer can hold.

参见

在文件 AkCommonDefs.h320 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅