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