Class WASAPI2AudioCaptureDeviceSourceSettings
WASAPI2 audio capture device source settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class WASAPI2AudioCaptureDeviceSourceSettings : IAudioCaptureDeviceSourceSettings, IVideoCaptureBaseAudioSourceSettings
Constructors
WASAPI2AudioCaptureDeviceSourceSettings(AudioCaptureDeviceInfo, AudioCaptureDeviceFormat)
Initializes a new instance of the WASAPI2AudioCaptureDeviceSourceSettings class.
Declaration
public WASAPI2AudioCaptureDeviceSourceSettings(AudioCaptureDeviceInfo device, AudioCaptureDeviceFormat format)
Parameters
Type | Name | Description |
---|---|---|
AudioCaptureDeviceInfo | device | The device. |
AudioCaptureDeviceFormat | format | The format. |
Properties
API
Gets or sets the API.
Declaration
public AudioCaptureDeviceAPI API { get; }
Property Value
Type | Description |
---|---|
AudioCaptureDeviceAPI | The API. |
Device
Gets or sets the name.
Declaration
public AudioCaptureDeviceInfo Device { get; set; }
Property Value
Type | Description |
---|---|
AudioCaptureDeviceInfo | The name. |
Format
Gets or sets the format.
Declaration
public AudioCaptureDeviceFormat Format { get; set; }
Property Value
Type | Description |
---|---|
AudioCaptureDeviceFormat | The format. |
Loopback
Gets or sets a value indicating whether to open the sink device for loopback recording.
Declaration
public bool Loopback { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
LoopbackMode
Gets or sets the loopback mode. "LoopbackTargetPID" must be specified in case of process loopback modes. This option requires "Windows 10 build 20348" or later.
Declaration
public WASAPI2SourceLoopbackMode LoopbackMode { get; set; }
Property Value
Type | Description |
---|---|
WASAPI2SourceLoopbackMode | The loopback mode. |
LoopbackTargetPID
Gets or sets the loopback target process ID.
Declaration
public uint LoopbackTargetPID { get; set; }
Property Value
Type | Description |
---|---|
uint | The loopback target process ID. |
LowLatency
Gets or sets a value indicating whether to optimize all settings for lowest latency.
Declaration
public bool LowLatency { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Mute
Gets or sets a value indicating whether to mute audio.
Declaration
public bool Mute { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Volume
Gets or sets the volume of the stream.
Declaration
public double Volume { get; set; }
Property Value
Type | Description |
---|---|
double | The volume. |