Table of Contents

Class ASIOSinkBlock

Namespace
VisioForge.Core.MediaBlocks.AudioRendering
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, IMediaBlockRenderer

Inheritance

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

settings ASIOSinkSettings

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

MediaBlockType

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

true if asiosink can be created; otherwise, false.