Modifies a XMA2WAVEFORMATEX structure in place to comply with the current platform’s byte-ordering rules (little- or big-endian).
HRESULT LocalizeXma2Format(
XMA2WAVEFORMATEX *pXma2Format
)
pXma2Format
Type: XMA2WAVEFORMATEX *
[in, out] Pointer to a XMA2WAVEFORMATEX structure to be updated.
Type: HRESULT
Success (S_OK) or error (E_FAIL) code.
This is an inline function, refer to the xma2defs.h file for the source code.
Header: Declared in xma2defs.h.
Library: Use xaudio2.lib and acphal.lib.