Skip to main content

LocalizeXma2Format

This modifies an XMA2WAVEFORMATEX structure in place in order to comply with the current platform’s byte-ordering rules (little-endian or big-endian).

Syntax

Parameters

pXma2Format   _Inout_
Type: XMA2WAVEFORMATEX*
Pointer to the XMA2WAVEFORMATEX structure to be updated.

Return value

Type: HRESULT Success S_OK or error E_FAIL code.

Remarks

This is an inline function that modifies an XMA2WAVEFORMATEX structure in place to comply with the current platform’s byte-ordering rules (little-endian or big-endian). 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

xma2defs
Last modified on August 20, 2026