GetXmaFrameLengthInBits

Reads a given frame’s LengthInBits field.

Syntax

DWORD GetXmaFrameLengthInBits(
         const BYTE *pPacket,
         DWORD nBitPosition
)  

Parameters

pPacket
Type: BYTE *

[in] Pointer to XMA packets containing the frame.

nBitPosition
Type: DWORD 

Bit offset of the frame within this packet.

Return value

Type: DWORD 

Length in bits.

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.