Class AudioCaptureDeviceInfo
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
Audio capture device information.
public class AudioCaptureDeviceInfo : IComparableInheritance
Implements
Inherited Members
Constructors
AudioCaptureDeviceInfo(Device)
Initializes a new instance of the VisioForge.Core.Types.X.Sources.AudioCaptureDeviceInfo class.
public AudioCaptureDeviceInfo(Device device)Parameters
deviceDevice-
The device.
Properties
API
Gets the API.
public AudioCaptureDeviceAPI API { get; }Property Value
DevicePath
Gets device path.
public string DevicePath { get; }Property Value
DisplayName
Gets device name including API.
public string DisplayName { get; }Property Value
Formats
Gets video formats.
public List<AudioCaptureDeviceFormatInfo> Formats { get; }Property Value
InternalName
Gets the internal name.
public string InternalName { get; }Property Value
Name
Gets device name.
public string Name { get; }Property Value
Methods
CompareTo(object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
public int CompareTo(object obj)Parameters
objobject-
An object to compare with this instance.
Returns
- int
-
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value Meaning Less than zero This instance precedes objin the sort order.Zero This instance occurs in the same position in the sort order as obj.Greater than zero This instance follows objin the sort order.
CreateSourceSettings(AudioCaptureDeviceFormat)
Converts to audio source settings.
public IAudioCaptureDeviceSourceSettings CreateSourceSettings(AudioCaptureDeviceFormat format = null)Parameters
formatAudioCaptureDeviceFormat-
The format.
Returns
- IAudioCaptureDeviceSourceSettings
-
IAudioCaptureDeviceSourceSettings.
CreateSourceSettingsVC(AudioCaptureDeviceFormat)
Creates the source settings for VideoCaptureCoreX.
public IVideoCaptureBaseAudioSourceSettings CreateSourceSettingsVC(AudioCaptureDeviceFormat format = null)Parameters
formatAudioCaptureDeviceFormat-
The format.
Returns
- IVideoCaptureBaseAudioSourceSettings
-
IVideoCaptureBaseAudioSourceSettings.
GetDefaultFormat()
Gets the default format.
public AudioCaptureDeviceFormat GetDefaultFormat()Returns
- AudioCaptureDeviceFormat
-
AudioCaptureDeviceFormat.
GetDevice()
Gets the device.
public Device GetDevice()Returns
- Device
-
Gst.Device.
ToString()
Class as a string.
public override string ToString()