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. |
|
|
reference |
|
|
|
03/06/2023 |
The KSPROPERTY_AUDIO_SAMPLING_RATE property specifies the rate at which a node samples its input stream in order to produce its output stream.
Get | Set | Target | Property descriptor type | Property value type |
---|---|---|---|---|
Yes |
Yes |
Pin |
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).
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.
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:
-
ADC node (KSNODETYPE_ADC)
-
DAC node (KSNODETYPE_DAC)
-
SRC node (KSNODETYPE_SRC)
Header |
Ksmedia.h (include Ksmedia.h) |