// acxstreams.h
typedef enum _ACX_STREAM_BRIDGE_TYPE {
AcxStreamBridgeInvalidType,
AcxStreamBridgeMux,
AcxStreamBridgeMaximumType,
AcxStreamBridgeDefaultType
} ACX_STREAM_BRIDGE_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The ACX_STREAM_BRIDGE_TYPE enumeration describes the Acx Stream Bridge Type.
AcxStreamBridgeInvalidTypeThe Acx Stream Bridge is an InvalidType.
AcxStreamBridgeMuxThe Acx Stream Bridge is an Mux. This bridge type accepts multiple input streams and allows only one output stream.
AcxStreamBridgeMaximumTypeThe AcxStreamBridgeMaximumType is used internally for validation. Do not use.
AcxStreamBridgeDefaultTypeThe default type is associated with one of the valid types for this field. This is the type used if the driver does not override this value.
AcxStreamBridge is used by a circuit to propagate stream creation, the stream’s states transitions and DRM settings between the endpoint's circuit stream segments. This object is only used in a multi-circuit (audio composite) scenario.
Example usage is shown below.
//
// Add a stream BRIDGE for RAW and DEFAULT modes.
//
PCGUID inModes[] =
{
&AUDIO_SIGNALPROCESSINGMODE_DEFAULT,
&AUDIO_SIGNALPROCESSINGMODE_RAW,
};
WDF_OBJECT_ATTRIBUTES_INIT(&attributes);
attributes.ParentObject = pin;
ACXSTREAMBRIDGE bridge = NULL;
ACX_STREAM_BRIDGE_CONFIG bridgeCfg;
ACX_STREAM_BRIDGE_CONFIG_INIT(&bridgeCfg);
streamCfg.InModesCount = 2;
streamCfg.InModes = inModes;
streamCfg.OutMode = &AUDIO_SIGNALPROCESSINGMODE_DEFAULT;
status = AcxStreamBridgeCreate(circuit, &attributes, &bridgeCfg, &bridge);
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.