Class AudioCaptureSource
AudioCaptureSource class.
Inherited Members
Namespace: VisioForge.Core.Types.VideoCapture
Assembly: VisioForge.Core.dll
Syntax
public class AudioCaptureSource
Constructors
AudioCaptureSource()
Initializes a new instance of the AudioCaptureSource class.
Declaration
public AudioCaptureSource()
AudioCaptureSource(string)
Initializes a new instance of the AudioCaptureSource class.
Declaration
public AudioCaptureSource(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name. |
AudioCaptureSource(AudioCaptureDeviceInfo)
Initializes a new instance of the AudioCaptureSource class.
Declaration
public AudioCaptureSource(AudioCaptureDeviceInfo info)
Parameters
Type | Name | Description |
---|---|---|
AudioCaptureDeviceInfo | info | Info. |
Properties
CustomLatency
Gets or sets the audio input custom latency in milliseconds.
Declaration
public int CustomLatency { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
Not all audio capture devices support this feature.
Format
Gets or sets the audio format for recording and preview. The audio capture device must be selected.
Declaration
public string Format { get; set; }
Property Value
Type | Description |
---|---|
string |
Format_UseBest
Gets or sets a value indicating whether best audio capture format will be used.
Declaration
public bool Format_UseBest { get; set; }
Property Value
Type | Description |
---|---|
bool |
Line
Gets or sets the audio input for recording and preview. The audio capture device must be selected.
Declaration
public string Line { get; set; }
Property Value
Type | Description |
---|---|
string |
MasterDevice
Gets or sets the master device for audio capture device, that will be used to sync. Please do not use this property if you are don't know what you are doing.
Declaration
public string MasterDevice { get; set; }
Property Value
Type | Description |
---|---|
string |
MasterDevice_Format
Gets or sets the master device format.
Declaration
public string MasterDevice_Format { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Gets or sets the audio capture device name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Path
Gets or sets the audio capture device DirectShow path. Optional. Set this property if you have multiply devices with the same name. Use Audio_CaptureDevice_GetDevicePath method to get device path for device.
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
string |
SourceFilter
Gets or sets the audio custom source filter. You can implement ICustomAudioSourceFilter interface in your class to use it as a source.
Declaration
public ICustomAudioSourceFilter SourceFilter { get; set; }
Property Value
Type | Description |
---|---|
ICustomAudioSourceFilter |
Methods
~AudioCaptureSource()
Finalizes an instance of the AudioCaptureSource class.
Declaration
protected ~AudioCaptureSource()
ToString()
Returns a string that represents the current AudioCaptureSource.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | string. |