GetXmaPacketMetadata

Helper function for the XMA2PACKET structure.

Syntax

DWORD GetXmaPacketMetadata(
         const BYTE *pPacket
)  

Parameters

pPacket
Type: BYTE *

Pointer to the packet.

Return value

Type: DWORD 

Always 1 for XMA2.

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.