Class MFAACEncoderSettings
Media Foundation AAC encoder settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.AudioEncoders
Assembly: VisioForge.Core.dll
Syntax
public class MFAACEncoderSettings : IAACEncoderSettings, IAudioEncoder, IMediaBlockSettings, IEncoderTextInfo
Fields
Name
The name.
Declaration
public static string Name
Field Value
Type | Description |
---|---|
string |
Properties
Bitrate
Gets or sets the bitrate (in kbits/s). Default: 0 (Auto). Valid values: 0, 96, 128, 160, 192, 576, 768, 960, 1152.
Declaration
public int Bitrate { get; set; }
Property Value
Type | Description |
---|---|
int |
SampleRate
Gets or sets the custom sample rate. Can be 0 to use original sample rate.
Declaration
public int SampleRate { get; set; }
Property Value
Type | Description |
---|---|
int | The sample rate. |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |
GetCaps()
Gets the caps.
Declaration
public string GetCaps()
Returns
Type | Description |
---|---|
string | System.String. |
GetParameters()
Gets the parameters as string.
Declaration
public string GetParameters()
Returns
Type | Description |
---|---|
string | System.String. |
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 encoder is available.
Declaration
public static bool IsAvailable()
Returns
Type | Description |
---|---|
bool |
|