Class WavPackEncoderSettings
WavPack audio encoder settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.AudioEncoders
Assembly: VisioForge.Core.dll
Syntax
public class WavPackEncoderSettings : IAudioEncoder, IMediaBlockSettings
Fields
Name
The name.
Declaration
public static string Name
Field Value
| Type | Description |
|---|---|
| string |
Properties
Bitrate
Gets or sets the bitrate. Try to encode with this average bitrate (bits/sec). This enables lossy encoding, values smaller than 24000 disable it again.
Declaration
public uint Bitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
BitsPerSample
Gets or sets the bits per sample. Try to encode with this amount of bits per sample. This enables lossy encoding, values smaller than 2.0 disable it again.
Declaration
public double BitsPerSample { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
CorrectionMode
Gets or sets the correction mode. Use this mode for the correction stream. Only works in lossy mode!.
Declaration
public WavPackEncoderCorrectionMode CorrectionMode { get; set; }
Property Value
| Type | Description |
|---|---|
| WavPackEncoderCorrectionMode |
ExtraProcessing
Gets or sets the extra processing. Use better but slower filters for better compression/quality.
Declaration
public uint ExtraProcessing { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
JointStereoMode
Gets or sets the joint stereo mode.
Declaration
public WavPackEncoderJSMode JointStereoMode { get; set; }
Property Value
| Type | Description |
|---|---|
| WavPackEncoderJSMode |
MD5
Gets or sets a value indicating whether to store MD5 hash of raw samples within the file.
Declaration
public bool MD5 { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Mode
Gets or sets the mode. Speed versus compression tradeoff.
Declaration
public WavPackEncoderMode Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| WavPackEncoderMode |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
| Type | Description |
|---|---|
| MediaBlock | MediaBlock. |
GetModeList()
Gets the mode list.
Declaration
public static IEnumerable<string> GetModeList()
Returns
| Type | Description |
|---|---|
| IEnumerable<string> | IEnumerable<System.String>. |
GetSupportedBitrates()
Gets the supported bitrates (result is range).
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 (range).
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 |
|
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance. |