acxdevice.h 标头

ACX 音频类扩展使用此标头。

有关详细信息,请参阅:

注意

ACX 标头和库不包括在 2023 年 10 月 24 日发布的 WDK 10.0.22621.2428 () 中,但在早期版本中提供,以及最新的 (25000 系列内部版本) WDK Insider Preview。 有关 WDK 预览版的详细信息,请参阅 安装 Windows 驱动程序工具包的预览版本 (WDK)

acxdevice.h 包含以下编程接口:

函数

 
ACX_DEVICE_CONFIG_INIT

ACX_DEVICE_CONFIG_INIT函数初始化调用 AcxDeviceInitialize 函数时要使用的 ACX_DEVICE_CONFIG 结构。
ACX_DEVICEINIT_CONFIG_INIT

ACX_DEVICEINIT_CONFIG_INIT 函数初始化 ACX_DEVICEINIT_CONFIG 结构。
AcxDeviceAddCircuit

AcxDeviceAddCircuit 函数将 ACX 线路添加到 WDFDEVICE 以创建音频终结点。
AcxDeviceAddCircuitDevice

AcxDeviceAddCircuitDevice 函数将 ACX 线路设备添加到表示音频路径的指定父设备。
AcxDeviceAddFactoryCircuit

AcxDeviceAddFactoryCircuit 函数将工厂线路添加到 WDFDEVICE,用于创建音频线路。
AcxDeviceDetachCircuit

AcxDeviceDetachCircuit 函数在删除之前从 WDFDEVICE 分离音频线路。
AcxDeviceGetCurrentDxExitLatency

AcxDeviceGetCurrentDxExitLatency 函数获取当前音频设备睡眠状态退出延迟值。
AcxDeviceInitialize

AcxDeviceInitialize 函数 (ACX) 设备初始化音频类扩展。
AcxDeviceInitInitialize

客户端驱动程序必须在调用 WdfDeviceCreate 之前在其EVT_WDF_DRIVER_DEVICE_ADD回调中调用 AcxDeviceInitInitialize。
AcxDeviceRemoveCircuit

AcxDeviceRemoveCircuit 函数从 ACX 设备中删除指定的音频线路。
AcxDeviceRemoveCircuitDevice

AcxDeviceRemoveCircuitDevice 函数从指定的父设备中删除 ACX 线路设备。
AcxDeviceRemoveFactoryCircuit

AcxDeviceRemoveFactoryCircuit 函数删除用于从 WDFDEVICE 创建音频线路的工厂线路。

结构

 
ACX_DEVICE_CONFIG

ACX_DEVICE_CONFIG 结构向类扩展提供配置信息。
ACX_DEVICEINIT_CONFIG

ACX_DEVICEINIT_CONFIG 结构向类扩展提供配置信息。

枚举

 
ACX_DEVICE_CONFIG_FLAGS

ACX_DEVICE_CONFIG_FLAGS枚举定义用于配置音频类扩展的值。
ACX_DEVICEINIT_CONFIG_FLAGS

ACX_DEVICEINIT_CONFIG_FLAGS枚举定义用于初始化音频类扩展的值。
ACX_DX_EXIT_LATENCY

ACX_DX_EXIT_LATENCY枚举定义用于定义 ACX 设备退出延迟的值。