Table of Contents

static AkChannelMask AK::ChannelMaskFromNumChannels ( unsigned int  in_uNumChannels  )  [inline, static]

Returns a 'best guess' channel configuration from a given number of channels. Will return 0 if no guess can be made.

Definition at line 281 of file AkSpeakerConfig.h.

References AK_SPEAKER_SETUP_1_0_CENTER, AK_SPEAKER_SETUP_2_0, AK_SPEAKER_SETUP_2_1, AK_SPEAKER_SETUP_4_0, AK_SPEAKER_SETUP_5_0, AK_SPEAKER_SETUP_5_1, AK_SPEAKER_SETUP_7, and AK_SPEAKER_SETUP_7POINT1.