Bewerken

Delen via


ACX_RT_STREAM_CALLBACKS structure (acxstreams.h)

The ACX_RT_STREAM_CALLBACKS structure defines callbacks for RT streaming to the ACX framework.

Syntax

typedef struct _ACX_RT_STREAM_CALLBACKS {
  ULONG                                    Size;
  PFN_ACX_STREAM_GET_HW_LATENCY            EvtAcxStreamGetHwLatency;
  PFN_ACX_STREAM_ALLOCATE_RTPACKETS        EvtAcxStreamAllocateRtPackets;
  PFN_ACX_STREAM_FREE_RTPACKETS            EvtAcxStreamFreeRtPackets;
  PFN_ACX_STREAM_SET_RENDER_PACKET         EvtAcxStreamSetRenderPacket;
  PFN_ACX_STREAM_GET_CURRENT_PACKET        EvtAcxStreamGetCurrentPacket;
  PFN_ACX_STREAM_GET_CAPTURE_PACKET        EvtAcxStreamGetCapturePacket;
  PFN_ACX_STREAM_GET_PRESENTATION_POSITION EvtAcxStreamGetPresentationPosition;
} ACX_RT_STREAM_CALLBACKS, *PACX_RT_STREAM_CALLBACKS;

Members

Size

The length, in bytes, of this structure.

EvtAcxStreamGetHwLatency

The EvtAcxStreamGetHwLatency callback.

EvtAcxStreamAllocateRtPackets

The EvtAcxStreamAllocateRtPackets callback.

EvtAcxStreamFreeRtPackets

The EvtAcxStreamFreeRtPackets callback.

EvtAcxStreamSetRenderPacket

The EvtAcxStreamSetRenderPacket callback.

EvtAcxStreamGetCurrentPacket

The EvtAcxStreamGetCurrentPacket callback.

EvtAcxStreamGetCapturePacket

The EvtAcxStreamGetCapturePacket callback.

EvtAcxStreamGetPresentationPosition

The EvtAcxStreamGetPresentationPosition callback.

Remarks

The driver must also define and use the ACX_STREAM_CALLBACKS structure to create an ACXRTSTREAM.

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