Class WASAPIAudioCaptureDeviceSourceSettings
WASAPI audio capture device source settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class WASAPIAudioCaptureDeviceSourceSettings : IAudioCaptureDeviceSourceSettings, IVideoCaptureBaseAudioSourceSettings
Constructors
WASAPIAudioCaptureDeviceSourceSettings(AudioCaptureDeviceInfo, AudioCaptureDeviceFormat)
Initializes a new instance of the WASAPIAudioCaptureDeviceSourceSettings class.
Declaration
public WASAPIAudioCaptureDeviceSourceSettings(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 device.
Declaration
public AudioCaptureDeviceInfo Device { get; set; }
Property Value
Type | Description |
---|---|
AudioCaptureDeviceInfo | The device. |
Exclusive
Gets or sets a value indicating whether to open the device in exclusive mode.
Declaration
public bool Exclusive { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
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 |
|
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 |
|
Role
Gets or sets the role of the device.
Declaration
public WASAPIDeviceRole Role { get; set; }
Property Value
Type | Description |
---|---|
WASAPIDeviceRole | The role. |
UseAudioClient3
Gets or sets a value indicating whether to use the Windows 10 AudioClient3 API when available
Declaration
public bool UseAudioClient3 { get; set; }
Property Value
Type | Description |
---|---|
bool |
|