目录

Wwise SDK 2018.1.11

◆ 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.

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

在文件 AkCommonDefs.h330 行定义.

引用了 AK_ChannelConfigType_Standard, AK_SPEAKER_LOW_FREQUENCY, AKASSERT , 以及 AK::GetNumNonZeroBits().