Class MP2EncoderSettings
- Assembly
- VisioForge.Core.dll
MP2 encoder settings.
public class MP2EncoderSettings : IAudioEncoder, IMediaBlockSettingsInheritance
Implements
Inherited Members
Remarks
Supported formats: S16LE. Supported sample rates: 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000. Supported channels: 1, 2.
Fields
Name
The name.
public static string NameField Value
Properties
Bitrate
Gets or sets the bitrate. Bitrate in Kbit/s.
public int Bitrate { get; set; }Property Value
SampleRate
Gets or sets the sample rate.
public int SampleRate { get; set; }Property Value
Methods
CreateBlock()
Creates the block.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
MediaBlock.
GetSupportedBitrates()
Gets the supported bitrates.
public int[] GetSupportedBitrates()Returns
- int[]
-
System.Int32[].
GetSupportedChannelCounts()
Gets the supported channel counts.
public int[] GetSupportedChannelCounts()Returns
- int[]
-
System.Int32[].
GetSupportedSampleRates()
Gets the supported sample rates.
public int[] GetSupportedSampleRates()Returns
- int[]
-
System.Int32[].
IsAvailable()
Determines whether this encoder is available.
public static bool IsAvailable()Returns
- bool
-
trueif this encoder is available; otherwise,false.
ToString()
Returns a String that represents this instance.
public override string ToString()