Class AudioResamplerSettings
Audio resampler settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.AudioEffects
Assembly: VisioForge.Core.dll
Syntax
public class AudioResamplerSettings
Constructors
AudioResamplerSettings()
Initializes a new instance of the AudioResamplerSettings class.
Declaration
public AudioResamplerSettings()
AudioResamplerSettings(AudioFormatX, int, int)
Initializes a new instance of the AudioResamplerSettings class.
Declaration
public AudioResamplerSettings(AudioFormatX format, int sampleRate, int channels)
Parameters
Type | Name | Description |
---|---|---|
AudioFormatX | format | The format. |
int | sampleRate | The sample rate. |
int | channels | The channels. |
Properties
Channels
Gets or sets the channels.
Declaration
public int Channels { get; set; }
Property Value
Type | Description |
---|---|
int |
Format
Gets or sets the audio format.
Declaration
public AudioFormatX Format { get; set; }
Property Value
Type | Description |
---|---|
AudioFormatX | The audio format. |
Quality
Gets or sets the resample quality with 0 being the lowest and 10 being the best.
Declaration
public int Quality { get; set; }
Property Value
Type | Description |
---|---|
int |
ResampleMethod
Gets or sets the resample method.
Declaration
public AudioResamplerMethod ResampleMethod { get; set; }
Property Value
Type | Description |
---|---|
AudioResamplerMethod |
SampleRate
Gets or sets the sample rate.
Declaration
public int SampleRate { get; set; }
Property Value
Type | Description |
---|---|
int |
SincFilterAutoThreshold
Gets or sets the memory usage threshold to use if sinc filter mode is AUTO, given in bytes.
Declaration
public uint SincFilterAutoThreshold { get; set; }
Property Value
Type | Description |
---|---|
uint |
SincFilterInterpolation
Gets or sets how to interpolate the sinc filter table.
Declaration
public AudioResamplerFilterInterpolation SincFilterInterpolation { get; set; }
Property Value
Type | Description |
---|---|
AudioResamplerFilterInterpolation |
SincFilterMode
Gets or sets the table mode to use.
Declaration
public AudioResamplerFilterMode SincFilterMode { get; set; }
Property Value
Type | Description |
---|---|
AudioResamplerFilterMode | The sinc filter mode. |