Table of Contents

Class AudioResampler

Namespace
GstAudio
Assembly
GstAudio-1.0.dll
public sealed class AudioResampler
Inheritance
AudioResampler
Inherited Members

Constructors

AudioResampler(AudioResamplerOwnedHandle)

public AudioResampler(AudioResamplerOwnedHandle handle)

Parameters

handle AudioResamplerOwnedHandle

Properties

Handle

public AudioResamplerOwnedHandle Handle { get; }

Property Value

AudioResamplerOwnedHandle

Methods

Equals(AudioResampler?)

public bool Equals(AudioResampler? other)

Parameters

other AudioResampler

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Free()

public void Free()

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetInFrames(nuint)

public nuint GetInFrames(nuint outFrames)

Parameters

outFrames nuint

Returns

nuint

GetMaxLatency()

public nuint GetMaxLatency()

Returns

nuint

GetOutFrames(nuint)

public nuint GetOutFrames(nuint inFrames)

Parameters

inFrames nuint

Returns

nuint

New(AudioResamplerMethod, AudioResamplerFlags, AudioFormat, int, int, int, Structure)

public static AudioResampler New(AudioResamplerMethod method, AudioResamplerFlags flags, AudioFormat format, int channels, int inRate, int outRate, Structure options)

Parameters

method AudioResamplerMethod
flags AudioResamplerFlags
format AudioFormat
channels int
inRate int
outRate int
options Structure

Returns

AudioResampler

OptionsSetQuality(AudioResamplerMethod, uint, int, int, Structure)

public static void OptionsSetQuality(AudioResamplerMethod method, uint quality, int inRate, int outRate, Structure options)

Parameters

method AudioResamplerMethod
quality uint
inRate int
outRate int
options Structure

Resample(IntPtr, nuint, IntPtr, nuint)

public void Resample(IntPtr @in, nuint inFrames, IntPtr @out, nuint outFrames)

Parameters

in IntPtr
inFrames nuint
out IntPtr
outFrames nuint

Reset()

public void Reset()

Update(int, int, Structure)

public bool Update(int inRate, int outRate, Structure options)

Parameters

inRate int
outRate int
options Structure

Returns

bool