Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2019.2.15.7667 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2019.2.15

◆ StandardToPipelineIndex()

static AkUInt32 AkAudioBuffer::StandardToPipelineIndex ( AkChannelConfig  in_channelConfig,
AkUInt32  in_uChannelIdx 
)
inlinestatic

Convert a channel, identified by a single channel bit, to a buffer index used in GetChannel() below, for a given channel config. Standard indexing follows channel bit order (see AkSpeakerConfig.h). Pipeline/buffer indexing is the same but the LFE is moved to the end.

Parameters
in_channelConfig Channel configuration.
in_uChannelIdx Channel index in standard ordering to be converted to pipeline ordering.

Definition at line 340 of file AkCommonDefs.h.

References AK_ChannelConfigType_Standard, AK_SPEAKER_LOW_FREQUENCY, AKASSERT, and AK::GetNumNonZeroBits().


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