Class SpeexEncoderPage
Interaction logic for SpeexEncoderPage.xaml.
Inheritance
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages
Assembly: VisioForge.Core.dll
Syntax
public class SpeexEncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector
Constructors
SpeexEncoderPage()
Initializes a new instance of the SpeexEncoderPage class.
Declaration
public SpeexEncoderPage()
Properties
Bitrate
Gets or sets the bitrate.
Declaration
public float Bitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| float | The bitrate. |
Bitrates
Gets or sets the bitrates.
Declaration
public ObservableCollection<float> Bitrates { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<float> | The bitrates. |
Mode
Gets or sets the rate control mode.
Declaration
public SpeexEncoderMode Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| SpeexEncoderMode | The rate control mode. |
ModeStr
Gets or sets the mode (as string).
Declaration
public string ModeStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The mode. |
Modes
Gets or sets the mode list.
Declaration
public ObservableCollection<string> Modes { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> | The mode list. |
Quality
Gets or sets the quality.
Declaration
public float Quality { get; set; }
Property Value
| Type | Description |
|---|---|
| float | The quality. |
VAD
Gets or sets a value indicating whether voice activity detection is enabled.
Declaration
public bool VAD { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
VBR
Gets or sets a value indicating whether VBR enabled.
Declaration
public bool VBR { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Methods
Fill(ref SpeexEncoderSettings)
Fills the specified settings.
Declaration
public void Fill(ref SpeexEncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| SpeexEncoderSettings | settings | The settings. |
GetPageType()
Gets the type of the page.
Declaration
public Type GetPageType()
Returns
| Type | Description |
|---|---|
| Type | Type. |
Init(SpeexEncoderSettings)
Initializes the specified settings.
Declaration
public void Init(SpeexEncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| SpeexEncoderSettings | settings | The settings. |
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
SetProperty<T>(ref T, T, string)
Sets the property.
Declaration
protected bool SetProperty<T>(ref T field, T newValue, string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| T | field | The field. |
| T | newValue | The new value. |
| string | propertyName | Name of the property. |
Returns
| Type | Description |
|---|---|
| bool |
|
Type Parameters
| Name | Description |
|---|---|
| T | Type. |
Events
PropertyChanged
Property changed event.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type | Description |
|---|---|
| PropertyChangedEventHandler |