Table of Contents

Class ASIOSourceBlock

Namespace
VisioForge.Core.MediaBlocks.Sources
Assembly
VisioForge.Core.dll

Captures audio from a Steinberg ASIO device (Windows) through the asiosrc GStreamer element: low-latency multichannel input with a choice of input channels and driver buffer size. An ASIO device in a VisioForge.Core.MediaBlocks.Sources.SystemAudioSourceBlock gives the same capture; this block names it.

public class ASIOSourceBlock : SystemAudioSourceBlock, IMediaBlock, IDisposable, IMediaBlockInternals, IAudioVolumeMute

Inheritance

Implements

Inherited Members

Extension Methods

Constructors

ASIOSourceBlock(ASIOSourceSettings)

Initializes a new instance of the VisioForge.Core.MediaBlocks.Sources.ASIOSourceBlock class.

public ASIOSourceBlock(ASIOSourceSettings settings)

Parameters

settings ASIOSourceSettings

The ASIO device, channels and buffer size.

Properties

Type

Gets the media block type, VisioForge.Core.MediaBlocks.MediaBlockType.ASIOSource.

public override MediaBlockType Type { get; }

Property Value

MediaBlockType

Methods

GetDevicesAsync()

Gets the ASIO capture devices.

public static Task<AudioCaptureDeviceInfo[]> GetDevicesAsync()

Returns

Task<AudioCaptureDeviceInfo[]>

The devices.

IsAvailable()

Determines whether the ASIO plugin is available. The Windows redist ships it.

public static bool IsAvailable()

Returns

bool

true if asiosrc can be created; otherwise, false.