Class WASAPI2RendererSettings
Class WASAPI2RendererSettings. Implements the IAudioRendererSettings
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.AudioRenderers
Assembly: VisioForge.Core.dll
Syntax
public class WASAPI2RendererSettings : IAudioRendererSettings
Constructors
WASAPI2RendererSettings(AudioOutputDeviceInfo)
Initializes a new instance of the WASAPI2RendererSettings class.
Declaration
public WASAPI2RendererSettings(AudioOutputDeviceInfo deviceInfo)
Parameters
Type | Name | Description |
---|---|---|
AudioOutputDeviceInfo | deviceInfo | The device information. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Invalid API. Should be WASAPI. |
Properties
API
Gets or sets the API.
Declaration
public AudioOutputDeviceAPI API { get; }
Property Value
Type | Description |
---|---|
AudioOutputDeviceAPI | The API. |
DevicePath
Gets or sets the device path.
Declaration
public string DevicePath { get; }
Property Value
Type | Description |
---|---|
string | The device path. |
Guid
Gets or sets the unique identifier.
Declaration
public Guid Guid { get; }
Property Value
Type | Description |
---|---|
Guid | The unique identifier. |
LowLatency
Gets or sets a value indicating whether to optimize all settings for lowest latency. It is always safe to enable this setting.
Declaration
public bool LowLatency { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Mute
Gets or sets the mute state of this stream.
Declaration
public bool Mute { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Volume
Gets or sets the volume.
Declaration
public double Volume { get; set; }
Property Value
Type | Description |
---|---|
double | The volume. |