Class WMA2EncoderSettings
WMA v2 encoder settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.AudioEncoders
Assembly: VisioForge.Core.dll
Syntax
public class WMA2EncoderSettings : IAudioEncoder, IMediaBlockSettings
Fields
Name
The name.
Declaration
public static string Name
Field Value
| Type | Description |
|---|---|
| string |
Properties
Bitrate
Gets or sets bitrate (in Kbps).
Declaration
public int Bitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Channels
Gets or sets number of audio channels.
Declaration
public int Channels { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
SampleRate
Gets or sets audio sampling rate (in Hz).
Declaration
public int SampleRate { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
| Type | Description |
|---|---|
| MediaBlock | MediaBlock. |
GetSupportedBitrates()
Gets the supported bitrates.
Declaration
public int[] GetSupportedBitrates()
Returns
| Type | Description |
|---|---|
| int[] | System.Int32[]. |
GetSupportedChannelCounts()
Gets the supported channel counts.
Declaration
public int[] GetSupportedChannelCounts()
Returns
| Type | Description |
|---|---|
| int[] | System.Int32[]. |
GetSupportedSampleRates()
Gets the supported sample rates.
Declaration
public int[] GetSupportedSampleRates()
Returns
| Type | Description |
|---|---|
| int[] | System.Int32[]. |
IsAvailable()
Determines whether this instance is available.
Declaration
public static bool IsAvailable()
Returns
| Type | Description |
|---|---|
| bool |
|
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance. |