Wwise SDK 2023.1.5

◆ 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 Wwise pipeline configuration, use ChannelBitToIndex() to convert channel bits to buffer indices.
Address of the buffer of the ith channel.
See also
in_uIndexChannel index [0,NumChannels()-1]

Definition at line 576 of file AkCommonDefs.h.

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

Referenced by GetLFE(), and ZeroPadToMaxFrames().

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise