Table of Contents

Interface IAudioCaptureSource2

Namespace
VAST.Capture
Assembly
VAST.Common.dll

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

AudioCaptureMode

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

AudioCaptureParameters

DeviceId

Gets or sets capture device id

string DeviceId { get; set; }

Property Value

string

EchoCanceller

Gets or sets echo canceller. Should be set only when two-way communication is used.

IEchoCanceller EchoCanceller { get; set; }

Property Value

IEchoCanceller

Renderer

Gets or sets optional capture preview renderer

IAudioRenderer Renderer { get; set; }

Property Value

IAudioRenderer

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

long

Volume

Gets or sets capture volume. Must be in 0.0..1.0 range.

float Volume { get; set; }

Property Value

float