Επεξεργασία

Κοινή χρήση μέσω


KSPROPERTY_AUDIO_CPU_RESOURCES

The KSPROPERTY_AUDIO_CPU_RESOURCES property specifies whether a node's functionality is implemented in hardware or is emulated in software that runs on the host CPU.

Usage Summary Table

Get Set Target Property descriptor type Property value type

Yes

No

Filter

KSNODEPROPERTY

ULONG

The property value (operation data) is of type ULONG and indicates whether the node's functionality is implemented in hardware or software. The miniport driver sets this value to one of the following two constants from header file Ksmedia.h:

KSAUDIO_CPU_RESOURCES_HOST_CPU
This node implements its functionality in software that runs on the host CPU.

KSAUDIO_CPU_RESOURCES_NOT_HOST_CPU
This node implements its functionality in hardware.

Return Value

A KSPROPERTY_AUDIO_CPU_RESOURCES property request returns STATUS_SUCCESS to indicate that it has completed successfully. Otherwise, the request returns an appropriate error status code.

Remarks

This property is used to determine whether the following node types are implemented in hardware or software:

Requirements

Header

Ksmedia.h (include Ksmedia.h)

See also

KSNODEPROPERTY

KSNODETYPE_ACOUSTIC_ECHO_CANCEL

KSNODETYPE_NOISE_SUPPRESS

KSNODETYPE_PEAKMETER