Table of Contents

Class DecklinkVideoOutputDialog

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

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

public class DecklinkVideoOutputDialog : 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.DecklinkVideoOutputDialog class. Sets up the dialog components and prepares the UI for user interaction.

public DecklinkVideoOutputDialog()

Properties

Gets the name of the selected audio output device.

public string AudioDevice { get; }

Property Value

string

Gets the zero-based index of the selected audio output device in the combo box.

public int AudioDeviceIndex { get; }

Property Value

int

Gets the name of the selected video output device.

public string VideoDevice { get; }

Property Value

string

Gets the zero-based index of the selected video output device in the combo box.

public int VideoDeviceIndex { get; }

Property Value

int

Gets the selected video mode for the Decklink output.

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.DecklinkVideoOutputDialog class. Called by the garbage collector to perform cleanup before the object is reclaimed.

protected ~DecklinkVideoOutputDialog()

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

public Task<DecklinkAudioSinkSettings> GetAudioDeviceSettingsAsync()

Returns

Task<DecklinkAudioSinkSettings>

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

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

public Task<DecklinkVideoSinkSettings> GetVideoDeviceSettingsAsync()

Returns

Task<DecklinkVideoSinkSettings>

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

InitializeComponent

public void InitializeComponent()