GetXmaPacketFirstFrameOffsetInBits
This is a helper function for theXMA2PACKET structure that returns the first frame offset.
Syntax
Parameters
pPacket _In_bytecount_(3)Type: BYTE* Pointer to the packet.
Return value
Type: DWORD The first frame offset, in bits.Remarks
GetXmaPacketFirstFrameOffsetInBits gets the bit offset of the first frame of the XBOX Media Audio (XMA) packet.
Bitfields cannot be read directly on little-endian architectures such as the Intel x86, as they are laid out in big-endian form.
