menu
 
Version
2023.1.14.8770

2024.1.6.8842

2023.1.14.8770

2025.1.0.8897

2022.1.19.8584

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

Wwise SDK 2023.1.14

◆ 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_channelConfigChannel configuration.
in_uChannelIdxChannel index in standard ordering to be converted to pipeline ordering.

Definition at line 549 of file AkCommonDefs.h.

References AK_ChannelConfigType_Standard, AK_SPEAKER_LOW_FREQUENCY, AKASSERT, AkChannelConfig::eConfigType, AK::GetNumNonZeroBits(), AkChannelConfig::HasLFE(), AkChannelConfig::uChannelMask, and AkChannelConfig::uNumChannels.


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