Skip to content

Latest commit

 

History

History
101 lines (73 loc) · 2.94 KB

ksproperty-audio-sampling-rate.md

File metadata and controls

101 lines (73 loc) · 2.94 KB
title description keywords topic_type ms.topic api_name api_location api_type ms.date
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.
KSPROPERTY_AUDIO_SAMPLING_RATE Audio Devices
apiref
reference
KSPROPERTY_AUDIO_SAMPLING_RATE
Ksmedia.h
HeaderDef
03/06/2023

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