Skip to main content

GetStandardChannelMaskFromXmaMask

Converts between WAVEFORMATEXTENSIBLE channel masks that are combinations of SPEAKER_xxx flags defined in the audiodef.h file and the XBOX Media Audio (XMA) channel masks.

Syntax

Parameters

bXmaMask   
Type: BYTE
Input byte mask.

Return value

Type: DWORD Standard mask.

Remarks

This function converts WAVEFORMATEXTENSIBLE channel masks that are combinations of SPEAKER_xxx flags defined in the audiodef.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

GetXmaChannelMaskFromStandardMask
xma2defs
Last modified on August 20, 2026