XMA2PACKET
XBOX Media Audio (XMA) packet structure in big-endian form.Syntax
Members
FrameCountType: int Number of XMA frames that begin in this packet. FrameOffsetInBits
Type: int Bit of XmaData where the first complete frame begins. PacketMetaData
Type: int Metadata stored in the packet. Always 1 for XMA2. PacketSkipCount
Type: int Number of packets that belong to other streams that must be skipped to find the next packet that belongs to this stream. XmaData
Type: BYTE[XMA_BYTES_PER_PACKET - sizeof ( DWORD )] XMA-encoded data.
Remarks
TheXMA2PACKET structure will skip 2 packets to find the next one for this stream. It uses the XMA2 signature, which it is 001. The first frame starts 527 bits into the packet. The packet contains 12 frames. In the following example, the first DWORD of a packet is 0x30107902. The packet contains 12 frames. The first frame begins 527 buts into the packet. To find the next packet for this stream, skip 2 packets.
Requirements
Header: xma2defs.h Supported platforms: XBOX One family consoles and XBOX Series consolesSee also
Overview of XMA2xma2defs
