GetXmaChannelMaskFromStandardMask
Converts betweenWAVEFORMATEXTENSIBLE channel masks that are combinations of SPEAKER_xxx flags defined in the audiodef.h file, XBOX Media Audio (XMA) channel masks, and are limited to eight possible speaker positions.
Syntax
Parameters
dwStandardMaskType: DWORD Standard mask.
Return value
Type: BYTE Byte mask.Remarks
This function converts betweenWAVEFORMATEXTENSIBLE channel masks that are combinations of SPEAKER_xxx flags defined in the audiodefs.h file, XMA channel masks, and are limited to eight possible speaker positions.
As shown in the code example below, these speaker positions include left, right, center, low frequency, side left, side right, back left, and back right.
Requirements
Header: xma2defs.h Supported platforms: XBOX One family consoles and XBOX Series consolesSee also
GetStandardChannelMaskFromXmaMaskxma2defs
