ACX_STREAM_CALLBACKS_INIT function (acxstreams.h)

The ACX_STREAM_CALLBACKS_INIT function initializes the ACX stream callbacks.

Syntax

void ACX_STREAM_CALLBACKS_INIT(
  PACX_STREAM_CALLBACKS Callbacks
);

Parameters

Callbacks

A ACX_STREAM_CALLBACKS structure.

Return value

None

Remarks

Example


  ACX_STREAM_CALLBACKS        streamCallbacks;

    //
    // Init streaming callbacks.
    //
    ACX_STREAM_CALLBACKS_INIT(&streamCallbacks);
    streamCallbacks.EvtAcxStreamPrepareHardware = EvtStreamPrepareHardware;
    streamCallbacks.EvtAcxStreamReleaseHardware = EvtStreamReleaseHardware;
    streamCallbacks.EvtAcxStreamRun = EvtStreamRun;
    streamCallbacks.EvtAcxStreamPause = EvtStreamPause;
    streamCallbacks.EvtAcxStreamAssignDrmContentId = EvtStreamAssignDrmContentId;

    status = AcxStreamInitAssignAcxStreamCallbacks(StreamInit, &streamCallbacks);


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