Table of Contents

Class MFAACEncoderPage

Namespace
VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages
Assembly
VisioForge.Core.dll

Represents a WPF page for configuring Media Foundation AAC encoder settings. This page provides UI controls for setting AAC audio encoding parameters using the Windows Media Foundation framework.

public class MFAACEncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector

Inheritance

Implements

Inherited Members

Constructors

MFAACEncoderPage()

Initializes a new instance of the VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages.MFAACEncoderPage class. Sets up the data context and populates the bitrate collection with supported values.

public MFAACEncoderPage()

Properties

Bitrate

Gets or sets the audio bitrate for AAC encoding. Common values include 128, 192, 256, 320 kbps.

public int Bitrate { get; set; }

Property Value

int

Bitrates

Gets or sets the collection of available bitrates for UI selection.

public ObservableCollection<int> Bitrates { get; set; }

Property Value

ObservableCollection<int>

Methods

Fill(ref MFAACEncoderSettings)

Fills the provided settings object with current UI values. Exports all encoder parameters from the UI controls to the settings object.

public void Fill(ref MFAACEncoderSettings settings)

Parameters

settings MFAACEncoderSettings

The Media Foundation AAC encoder settings object to populate.

GetPageType()

Gets the encoder settings type associated with this page.

public Type GetPageType()

Returns

Type

The type of MFAACEncoderSettings.

Init(MFAACEncoderSettings)

Initializes the page with existing encoder settings. Loads all encoder parameters from the provided settings object into the UI controls.

public void Init(MFAACEncoderSettings settings)

Parameters

settings MFAACEncoderSettings

The Media Foundation AAC encoder settings to load.

InitializeComponent()

InitializeComponent

public void InitializeComponent()

OnPropertyChanged(string)

OnPropertyChanged API.

protected virtual void OnPropertyChanged(string propertyName = null)

Parameters

propertyName string

Property name.

PropertyChanged

Property changed event.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler