Table of Contents

Class AudioResamplerSettings

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

Configuration settings for audio sample rate conversion using the GStreamer audioresample element.

public class AudioResamplerSettings

Inheritance

Inherited Members

Constructors

AudioResamplerSettings()

Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.AudioResamplerSettings class with default values.

public AudioResamplerSettings()

AudioResamplerSettings(AudioFormatX, int, int)

Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.AudioResamplerSettings class.

public AudioResamplerSettings(AudioFormatX format, int sampleRate, int channels)

Parameters

format AudioFormatX

The output audio sample format.

sampleRate int

The target sample rate in Hz.

channels int

The number of audio channels.

Properties

Channels

Gets or sets the number of audio channels.

public int Channels { get; set; }

Property Value

int

Format

Gets or sets the output audio sample format.

public AudioFormatX Format { get; set; }

Property Value

AudioFormatX

Quality

Gets or sets the resample quality with 0 being the lowest and 10 being the best.

public int Quality { get; set; }

Property Value

int

ResampleMethod

Gets or sets the resampling algorithm.

public AudioResamplerMethod ResampleMethod { get; set; }

Property Value

AudioResamplerMethod

SampleRate

Gets or sets the target sample rate in Hz.

public int SampleRate { get; set; }

Property Value

int

SincFilterAutoThreshold

Gets or sets the memory usage threshold to use if sinc filter mode is AUTO, given in bytes.

public uint SincFilterAutoThreshold { get; set; }

Property Value

uint

SincFilterInterpolation

Gets or sets how to interpolate the sinc filter table.

public AudioResamplerFilterInterpolation SincFilterInterpolation { get; set; }

Property Value

AudioResamplerFilterInterpolation

SincFilterMode

Gets or sets the sinc filter table storage mode.

public AudioResamplerFilterMode SincFilterMode { get; set; }

Property Value

AudioResamplerFilterMode