Class DecklinkVideoOutputDialog
- 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, IComponentConnectorInheritance
Implements
Inherited Members
Remarks
The dialog provides asynchronous methods to retrieve device settings and implements the IDisposable pattern for proper resource management.
Constructors
DecklinkVideoOutputDialog()
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
AudioDevice
Gets the name of the selected audio output device.
public string AudioDevice { get; }Property Value
AudioDeviceIndex
Gets the zero-based index of the selected audio output device in the combo box.
public int AudioDeviceIndex { get; }Property Value
VideoDevice
Gets the name of the selected video output device.
public string VideoDevice { get; }Property Value
VideoDeviceIndex
Gets the zero-based index of the selected video output device in the combo box.
public int VideoDeviceIndex { get; }Property Value
VideoMode
Gets the selected video mode for the Decklink output.
public DecklinkMode VideoMode { get; }Property Value
Methods
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
protected virtual void Dispose(bool disposing)Parameters
disposingbool-
trueto release both managed and unmanaged resources;falseto release only unmanaged resources.
Dispose()
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()~DecklinkVideoOutputDialog()
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()GetAudioDeviceSettingsAsync()
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.
GetVideoDeviceSettingsAsync()
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()
InitializeComponent
public void InitializeComponent()