KSPROPERTY_AUDIO_DYNAMIC_SAMPLING_RATE

The KSPROPERTY_AUDIO_DYNAMIC_SAMPLING_RATE property is used to enable and disable dynamic tracking of a node's sampling rate.

Usage Summary Table

Get Set Target Property descriptor type Property value type

Yes

Yes

Filter

KSNODEPROPERTY

BOOL

The property value (operation data) is of type BOOL and specifies whether dynamic tracking is enabled or disabled on the node. The value is TRUE when dynamic tracking of the sampling rate is enabled. In this mode, the input stream's sampling rate can be varied explicitly by setting the rate through KSPROPERTY_AUDIO_SAMPLING_RATE or implicitly by setting the rate through the time stamps on the input stream.

Return Value

A KSPROPERTY_AUDIO_DYNAMIC_SAMPLING_RATE 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 control dynamic tracking in the following node types:

Requirements

Header

Ksmedia.h (include Ksmedia.h)

See also

KSNODEPROPERTY

KSPROPERTY_AUDIO_SAMPLING_RATE

KSNODETYPE_ADC

KSNODETYPE_DAC

KSNODETYPE_SRC