Skip to main content

GetXmaChannelMaskFromStandardMask

Converts between WAVEFORMATEXTENSIBLE 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

dwStandardMask   
Type: DWORD
Standard mask.

Return value

Type: BYTE Byte mask.

Remarks

This function converts between WAVEFORMATEXTENSIBLE 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.
For more information about XMA2, see Overview of XMA2. For an overview of the audio architecture of XBOX One, see The sound of the future: The audio architecture in XBOX One.

Requirements

Header: xma2defs.h Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

GetStandardChannelMaskFromXmaMask
xma2defs
Last modified on August 20, 2026