Class ASIOSinkBlock
- Assembly
- VisioForge.Core.dll
Plays audio on a Steinberg ASIO device (Windows) through the asiosink GStreamer element: low-latency multichannel output with a choice of output channels and driver buffer size. The input is converted and resampled to the driver's format and rate. An ASIO device in an VisioForge.Core.MediaBlocks.AudioRendering.AudioRendererBlock gives the same output; this block names it.
public class ASIOSinkBlock : AudioRendererBlock, IMediaBlock, IDisposable, IMediaBlockInternals, IMediaBlockRendererInheritance
Implements
Inherited Members
Extension Methods
Constructors
ASIOSinkBlock(ASIOSinkSettings)
Initializes a new instance of the VisioForge.Core.MediaBlocks.AudioRendering.ASIOSinkBlock class.
public ASIOSinkBlock(ASIOSinkSettings settings)Parameters
settingsASIOSinkSettings-
The ASIO device, channels and buffer size.
Properties
Type
Gets the media block type, VisioForge.Core.MediaBlocks.MediaBlockType.ASIOSink.
public override MediaBlockType Type { get; }Property Value
Methods
GetDevicesAsync()
Gets the ASIO output devices.
public static Task<AudioOutputDeviceInfo[]> GetDevicesAsync()Returns
- Task<AudioOutputDeviceInfo[]>
-
The devices.
IsAvailable()
Determines whether the ASIO plugin is available. The Windows redist ships it.
public static bool IsAvailable()Returns
- bool
-
trueif asiosink can be created; otherwise,false.