Class FLACEncoderSettings
FLAC encoder settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.AudioEncoders
Assembly: VisioForge.Core.dll
Syntax
public class FLACEncoderSettings : IAudioEncoder, IMediaBlockSettings
Fields
Name
The name.
Declaration
public static string Name
Field Value
Type | Description |
---|---|
string |
Properties
BlockSize
Gets or sets the block size in samples.
Declaration
public uint BlockSize { get; set; }
Property Value
Type | Description |
---|---|
uint |
EscapeCoding
Gets or sets a value indicating whether search for escape codes in the entropy coding stage for slightly better compression.
Declaration
public bool EscapeCoding { get; set; }
Property Value
Type | Description |
---|---|
bool |
ExhaustiveModelSearch
Gets or sets a value indicating whether do exhaustive search of LP coefficient quantization (expensive!).
Declaration
public bool ExhaustiveModelSearch { get; set; }
Property Value
Type | Description |
---|---|
bool |
LooseMidSideStereo
Gets or sets a value indicating whether to loose mid side stereo.
Declaration
public bool LooseMidSideStereo { get; set; }
Property Value
Type | Description |
---|---|
bool |
MaxLPCOrder
Gets or sets the maximum LPC order. 0 => use only fixed predictors.
Declaration
public uint MaxLPCOrder { get; set; }
Property Value
Type | Description |
---|---|
uint |
MaxResidualPartitionOrder
Gets or sets the maximum residual partition order (above 4 doesn't usually help much).
Declaration
public uint MaxResidualPartitionOrder { get; set; }
Property Value
Type | Description |
---|---|
uint |
MidSideStereo
Gets or sets a value indicating whether do mid side stereo (only for stereo input).
Declaration
public bool MidSideStereo { get; set; }
Property Value
Type | Description |
---|---|
bool |
MinResidualPartitionOrder
Gets or sets the min residual partition order (above 4 doesn't usually help much).
Declaration
public uint MinResidualPartitionOrder { get; set; }
Property Value
Type | Description |
---|---|
uint |
Padding
Gets or sets the padding block size.
Declaration
public uint Padding { get; set; }
Property Value
Type | Description |
---|---|
uint |
QlpCoeffPrecSearch
Gets or sets a value indicating whether to search around QlpCoeffPrecision. If false = use QlpCoeffPrecision, true = search around QlpCoeffPrecision, take best.
Declaration
public bool QlpCoeffPrecSearch { get; set; }
Property Value
Type | Description |
---|---|
bool |
QlpCoeffPrecision
Gets or sets the precision in bits of quantized linear - predictor coefficients; 0 = automatic.
Declaration
public uint QlpCoeffPrecision { get; set; }
Property Value
Type | Description |
---|---|
uint |
Quality
Gets or sets the speed versus compression tradeoff [0..9]. 0 - Fastest compression, 8 - Highest compression, 9 - Insane.
Declaration
public int Quality { get; set; }
Property Value
Type | Description |
---|---|
int |
RiceParameterSearchDist
Gets or sets the 0 = try only calc'd parameter k; else try all [k-dist..k+dist] parameters, use best.
Declaration
public uint RiceParameterSearchDist { get; set; }
Property Value
Type | Description |
---|---|
uint |
SeekPoints
Gets or sets the add SEEKTABLE metadata (if bigger than 0, number of entries, if less than 0, interval in sec).
Declaration
public int SeekPoints { get; set; }
Property Value
Type | Description |
---|---|
int |
StreamableSubset
Gets or sets a value indicating whether streamable subset enabled. true to limit encoder to generating a Subset stream, else false.
Declaration
public bool StreamableSubset { get; set; }
Property Value
Type | Description |
---|---|
bool |
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 range of supported sample rates.
Declaration
public int[] GetSupportedSampleRates()
Returns
Type | Description |
---|---|
int[] | System.Int32[]. |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
IsAvailable()
Determines whether this encoder 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. |