版本

menu_open
AkSampleType* AkAudioBuffer::GetChannel ( AkUInt32  in_uIndex  )  [inline]

Get the buffer of the ith channel. Access to channel data is most optimal through this method. Use whenever the speaker configuration is known, or when an operation must be made independently for each channel.

Remarks:
When using a standard configuration, use ChannelMaskToBufferIndex() to convert channel bits to buffer indices.
Returns:
Address of the buffer of the ith channel.
See also:
Parameters:
in_uIndex  Channel index [0,NumChannels()-1]

Definition at line 595 of file AkCommonDefs.h.

References AKASSERT, arData, MaxFrames(), and NumChannels().

Referenced by GetLFE(), and ZeroPadToMaxFrames().


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅