LocalizeXma2Format

Modifies a XMA2WAVEFORMATEX structure in place to comply with the current platform’s byte-ordering rules (little- or big-endian).

Syntax

HRESULT LocalizeXma2Format(
         XMA2WAVEFORMATEX *pXma2Format
)  

Parameters

pXma2Format
Type: XMA2WAVEFORMATEX *

[in, out] Pointer to a XMA2WAVEFORMATEX structure to be updated.

Return value

Type: HRESULT 

Success (S_OK) or error (E_FAIL) code.

Remarks

This is an inline function, refer to the xma2defs.h file for the source code.

Requirements

Header: Declared in xma2defs.h.

Library: Use xaudio2.lib and acphal.lib.