Table of Contents

Class FLACEncoderSettings

Namespace
VisioForge.Core.Types.X.AudioEncoders
Assembly
VisioForge.Core.dll

FLAC encoder settings.

public class FLACEncoderSettings : IAudioEncoder, IMediaBlockSettings

Inheritance

Implements

Inherited Members

Fields

Name

The name.

public static string Name

Field Value

string

Properties

BlockSize

Gets or sets the block size in samples.

public uint BlockSize { get; set; }

Property Value

uint

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

bool

ExhaustiveModelSearch

Gets or sets a value indicating whether do exhaustive search of LP coefficient quantization (expensive!).

public bool ExhaustiveModelSearch { get; set; }

Property Value

bool

LooseMidSideStereo

Gets or sets a value indicating whether to loose mid side stereo.

public bool LooseMidSideStereo { get; set; }

Property Value

bool

MaxLPCOrder

Gets or sets the maximum LPC order. 0 => use only fixed predictors.

public uint MaxLPCOrder { get; set; }

Property Value

uint

MaxResidualPartitionOrder

Gets or sets the maximum residual partition order (above 4 doesn't usually help much).

public uint MaxResidualPartitionOrder { get; set; }

Property Value

uint

MidSideStereo

Gets or sets a value indicating whether do mid side stereo (only for stereo input).

public bool MidSideStereo { get; set; }

Property Value

bool

MinResidualPartitionOrder

Gets or sets the min residual partition order (above 4 doesn't usually help much).

public uint MinResidualPartitionOrder { get; set; }

Property Value

uint

Padding

Gets or sets the padding block size.

public uint Padding { get; set; }

Property Value

uint

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

bool

QlpCoeffPrecision

Gets or sets the precision in bits of quantized linear - predictor coefficients; 0 = automatic.

public uint QlpCoeffPrecision { get; set; }

Property Value

uint

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

int

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

uint

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

int

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

bool

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

NotImplementedException

IsAvailable()

Determines whether this encoder is available.

public static bool IsAvailable()

Returns

bool

true if this encoder is available; otherwise, false.

ToString()

Returns a String that represents this instance.

public override string ToString()

Returns

string

A String that represents this instance.