Reads a given frame’s LengthInBits field.
DWORD GetXmaFrameLengthInBits(
const BYTE *pPacket,
DWORD nBitPosition
)
pPacket
Type: BYTE *
[in] Pointer to XMA packets containing the frame.
nBitPosition
Type: DWORD
Bit offset of the frame within this packet.
Type: DWORD
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.