共用方式為


ACX_STREAM_BRIDGE_TYPE列舉 (acxstreams.h)

ACX_STREAM_BRIDGE_TYPE 列舉描述 Acx Stream Bridge Type。

語法

typedef enum _ACX_STREAM_BRIDGE_TYPE {
  AcxStreamBridgeInvalidType,
  AcxStreamBridgeMux,
  AcxStreamBridgeMaximumType,
  AcxStreamBridgeDefaultType
} ACX_STREAM_BRIDGE_TYPE;

常數

 
AcxStreamBridgeInvalidType
Acx Stream Bridge 是 InvalidType。
AcxStreamBridgeMux
Acx Stream Bridge 是 Mux。 此網橋類型接受多個輸入數據流,而且只允許一個輸出數據流。
AcxStreamBridgeMaximumType
AcxStreamBridgeMaximumType 會在內部用於驗證。 請勿使用。
AcxStreamBridgeDefaultType
默認類型與這個欄位的其中一個有效類型相關聯。 如果驅動程式未覆寫此值,則會使用這個類型。

言論

AcxStreamBridge 由線路用來傳播串流建立、數據流的狀態轉換和端點線路串流區段之間的DRM設定。 這個物件只會用於多線路(音訊複合)案例中。

範例使用方式如下所示。

    //
    // 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);

ACX 需求

ACX 最低版本: 1.0

如需 ACX 版本的詳細資訊,請參閱 ACX 版本概觀

要求

要求 價值
標頭 acxstreams.h

另請參閱