ACX_RTPACKET structure (acxstreams.h)

The ACX_RTPACKET structure represents a single allocated packet. The PacketBuffer must be a Memory Descriptor List (MDL).

Syntax

typedef struct _ACX_RTPACKET {
  ULONG                 Size;
  WDF_MEMORY_DESCRIPTOR RtPacketBuffer;
  ULONG                 RtPacketOffset;
  ULONG                 RtPacketSize;
} ACX_RTPACKET, *PACX_RTPACKET;

Members

Size

The size of the ACX_RTPACKET structure in bytes.

RtPacketBuffer

A WDF_MEMORY_DESCRIPTOR structure that is used as a buffer. Only WdfMemoryDescriptorTypeMdl and WdfMemoryDescriptorTypeInvalid are supported.

The RtPacketBuffer must be valid for the first ACX_RTPACKET in an array of ACX_RTPACKET structures. The RtPacketBuffer must be PAGE-aligned with a PAGE-aligned size.

RtPacketOffset

The zero-based offset in bytes in the RtPacketBuffer at which the actual audio packet starts.

RtPacketSize

The size in bytes of the allocated packet.

Remarks

The ACX framework currently only supports WdfMemoryDescriptorTypeMdl packet buffers.

See EVT_ACX_STREAM_ALLOCATE_RTPACKETS for details on allocating ACX_RTPACKET structures.

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

Requirements

Requirement Value
Header acxstreams.h

See also