KSPROPERTY_AUDIO_SAMPLING_RATE

The KSPROPERTY_AUDIO_SAMPLING_RATE property specifies the rate at which a node samples its input stream in order to produce its output stream.

Usage Summary Table

Get Set Target Property descriptor type Property value type

Yes

Yes

Pin

KSNODEPROPERTY

ULONG

The property value (operation data) is of type ULONG and specifies sampling rate. This rate is expressed as the number of samples per second (the sampling frequency in Hz).

Return Value

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

Remarks

The miniport driver should return an error on a set-property request if the node does not support the specified sampling rate.

This property is used to control the sampling rate for the following node types:

Requirements

Header

Ksmedia.h (include Ksmedia.h)

See also

KSNODEPROPERTY

KSNODETYPE_ADC

KSNODETYPE_DAC

KSNODETYPE_SRC