GetXmaPacketFrameCount

Helper function for the XMA2PACKET structure, returning the packet frame count.

Syntax

DWORD GetXmaPacketFrameCount(
         const BYTE *pPacket
)  

Parameters

pPacket
Type: BYTE *

Pointer to the packet.

Return value

Type: DWORD 

The packet frame count.

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.