Table of Contents

Class ASIOSinkSettings

Namespace
VisioForge.Core.Types.X.AudioRenderers
Assembly
VisioForge.Core.dll

Settings of an ASIO output device (Windows): the driver, the output channels to play on and the driver buffer size. Get the device from VisioForge.Core.DeviceEnumerator.AudioOutputsAsync(System.Nullable{VisioForge.Core.Types.X.Output.AudioOutputDeviceAPI},System.Threading.CancellationToken) with VisioForge.Core.Types.X.Output.AudioOutputDeviceAPI.ASIO. Usable with VisioForge.Core.MediaBlocks.AudioRendering.ASIOSinkBlock and as VideoCaptureCoreX.Audio_OutputDevice.

public class ASIOSinkSettings : IAudioRendererSettings

Inheritance

Implements

Inherited Members

Constructors

ASIOSinkSettings(AudioOutputDeviceInfo)

Initializes a new instance of the VisioForge.Core.Types.X.AudioRenderers.ASIOSinkSettings class.

public ASIOSinkSettings(AudioOutputDeviceInfo info)

Parameters

info AudioOutputDeviceInfo

The ASIO output device.

Exceptions

ArgumentNullException

info is null.

ArgumentException

info is not an ASIO device.

Properties

API

Gets the API, always VisioForge.Core.Types.X.Output.AudioOutputDeviceAPI.ASIO.

public AudioOutputDeviceAPI API { get; }

Property Value

AudioOutputDeviceAPI

BufferSize

Gets or sets the driver buffer size in samples. 0 uses the driver's preferred size.

public uint BufferSize { get; set; }

Property Value

uint

Channels

Gets or sets the zero-based output channels to play on, in ascending order: the stream is converted to one channel per entry. null or empty plays on every output channel.

public int[] Channels { get; set; }

Property Value

int[]

DevicePath

Gets the driver CLSID.

public string DevicePath { get; }

Property Value

string

Guid

Gets Empty: an ASIO driver is identified by VisioForge.Core.Types.X.AudioRenderers.ASIOSinkSettings.DevicePath.

public Guid Guid { get; }

Property Value

Guid

Info

Gets the ASIO output device.

[JsonInclude]
public AudioOutputDeviceInfo Info { get; }

Property Value

AudioOutputDeviceInfo