Table of Contents

Class DecklinkVideoSourceDialog

Namespace
VisioForge.Core.UI.WPF.Dialogs.Decklink
Assembly
VisioForge.Core.dll

Provides a WPF dialog for configuring Decklink video input devices. This dialog allows users to select and configure Decklink video and audio input devices for use in media capture and processing pipelines.

public class DecklinkVideoSourceDialog : Window, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IDisposable, IComponentConnector

Inheritance

Implements

Inherited Members

Remarks

The dialog provides asynchronous methods to retrieve device settings and implements the IDisposable pattern for proper resource management.

Constructors

Initializes a new instance of the VisioForge.Core.UI.WPF.Dialogs.Decklink.DecklinkVideoSourceDialog class. Sets up the dialog components and prepares the UI for user interaction.

public DecklinkVideoSourceDialog()

Properties

Gets the name of the selected audio input device.

public string AudioDevice { get; }

Property Value

string

Gets the name of the selected video input device.

public string VideoDevice { get; }

Property Value

string

Gets the selected video mode for the Decklink video input device.

public DecklinkMode VideoMode { get; }

Property Value

DecklinkMode

Methods

Releases unmanaged and - optionally - managed resources.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Implements the IDisposable pattern by calling the protected Dispose method and suppressing finalization.

public void Dispose()

Finalizes an instance of the VisioForge.Core.UI.WPF.Dialogs.Decklink.DecklinkVideoSourceDialog class. Called by the garbage collector to perform cleanup before the object is reclaimed.

protected ~DecklinkVideoSourceDialog()

Asynchronously retrieves the audio device settings for the selected Decklink audio input device.

public Task<DecklinkAudioSourceSettings> GetAudioDeviceSettingsAsync()

Returns

Task<DecklinkAudioSourceSettings>

A Task<TResult> that represents the asynchronous operation. The task result contains the audio source settings for the selected device, or null if no device is selected.

Asynchronously retrieves the video device settings for the selected Decklink video input device.

public Task<DecklinkVideoSourceSettings> GetVideoDeviceSettingsAsync()

Returns

Task<DecklinkVideoSourceSettings>

A Task<TResult> that represents the asynchronous operation. The task result contains the video source settings for the selected device, or null if no device is selected.

InitializeComponent

public void InitializeComponent()