Capture.AudioSamplingRate Property

DirectX.Capture

DirectX.Capture Class Library

Capture.AudioSamplingRate Property

Get or set the number of audio samples taken per second.

public int AudioSamplingRate {get; set;}

Remarks

Common sampling rates are 8.0 kHz, 11.025 kHz, 22.05 kHz, and 44.1 kHz. Not all sampling rates are supported.

Not all devices support getting/setting this property. If this property is not supported, accessing it will throw and exception.

This property cannot be changed while capturing. Changing this property while preview is enabled will cause some fickering while the internal filter graph is partially rebuilt. Changing this property while cued will cancel the cue. Call Cue() again to re-cue the capture.

See Also

Capture Class | Capture Members | DirectX.Capture Namespace