Table of Contents

Class LVCAudioInput

Namespace
VisioForge.Core.LiveVideoCompositorV2
Assembly
VisioForge.Core.dll

Represents an audio input for the Live Video Compositor that can receive and process audio streams. This class provides functionality to connect audio sources, apply processing blocks, and route audio to the compositor pipeline. Implements the VisioForge.Core.LiveVideoCompositor.LVCInput.

public class LVCAudioInput : LVCInput, IDisposable

Inheritance

Implements

Inherited Members

Constructors

LVCAudioInput(string, LiveVideoCompositor, MediaBlock, AudioInfoX, bool, MediaBlock)

Initializes a new instance of the VisioForge.Core.LiveVideoCompositorV2.LVCAudioInput class.

public LVCAudioInput(string name, LiveVideoCompositor compositor, MediaBlock mainBlock, AudioInfoX info, bool autostart, MediaBlock processingBlock = null)

Parameters

name string

The unique name identifier for this audio input.

compositor LiveVideoCompositor

The live video compositor instance that will manage this input.

mainBlock MediaBlock

The main media block that provides the audio source.

info AudioInfoX

The audio information containing format, channels, and sample rate (required).

autostart bool

If set to true, the input will start automatically when added to the compositor.

processingBlock MediaBlock

Optional processing block for audio effects or transformations.

Exceptions

ArgumentOutOfRangeException

Thrown when info parameter is null.

Properties

Info

Gets the audio information containing format details such as sample rate, channels, and audio format.

public AudioInfoX Info { get; }

Property Value

AudioInfoX

Methods

UpdateInfo(AudioInfoX)

Updates the audio information for this input with new format specifications.

public void UpdateInfo(AudioInfoX info)

Parameters

info AudioInfoX

The new audio information containing updated format, channels, or sample rate.

Exceptions

ArgumentOutOfRangeException

Thrown when info parameter is null.

See Also