Wwise 버전
arrow_right 목차
Wwise SDK 2018.1.11

◆ GetChannel()

AkSampleType* AkAudioBuffer::GetChannel ( AkUInt32  in_uIndex )

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.

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

Definition at line 362 of file AkCommonDefs.h.

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

Referenced by GetLFE(), and ZeroPadToMaxFrames().