Interface IAudioCaptureSource2
Latest interface for audio capture sources. Extends IMediaSource with audio specific settings. Obsoletes older IAudioCaptureSource interface.
public interface IAudioCaptureSource2 : IMediaSource, IReferenceable, IDisposable
- Inherited Members
Properties
CaptureMode
Gets or sets preferred capture mode. If not specified then default capture mode is used.
AudioCaptureMode CaptureMode { get; set; }
Property Value
CaptureParameters
Gets or sets additional and optional audio capture parameters. Can only be set if a source object is not opened yet.
AudioCaptureParameters CaptureParameters { get; set; }
Property Value
DeviceId
Gets or sets capture device id
string DeviceId { get; set; }
Property Value
EchoCanceller
Gets or sets echo canceller. Should be set only when two-way communication is used.
IEchoCanceller EchoCanceller { get; set; }
Property Value
Renderer
Gets or sets optional capture preview renderer
IAudioRenderer Renderer { get; set; }
Property Value
TimestampCorrectionMs
Gets or sets timestamp correction to be applied to captured audio samples. Unit is milliseconds. Recommended values are in -1000..+1000 range. Default value is 0, i.e. no correction.
long TimestampCorrectionMs { get; set; }
Property Value
Volume
Gets or sets capture volume. Must be in 0.0..1.0 range.
float Volume { get; set; }