Class ASIOSinkSettings
- 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 : IAudioRendererSettingsInheritance
Implements
Inherited Members
Constructors
ASIOSinkSettings(AudioOutputDeviceInfo)
Initializes a new instance of the VisioForge.Core.Types.X.AudioRenderers.ASIOSinkSettings class.
public ASIOSinkSettings(AudioOutputDeviceInfo info)Parameters
infoAudioOutputDeviceInfo-
The ASIO output device.
Exceptions
- ArgumentNullException
-
infoisnull. - ArgumentException
-
infois not an ASIO device.
Properties
API
Gets the API, always VisioForge.Core.Types.X.Output.AudioOutputDeviceAPI.ASIO.
public AudioOutputDeviceAPI API { get; }Property Value
BufferSize
Gets or sets the driver buffer size in samples. 0 uses the driver's preferred size.
public uint BufferSize { get; set; }Property Value
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
Guid
Gets Empty: an ASIO driver is identified by VisioForge.Core.Types.X.AudioRenderers.ASIOSinkSettings.DevicePath.
public Guid Guid { get; }Property Value
Info
Gets the ASIO output device.
[JsonInclude]
public AudioOutputDeviceInfo Info { get; }