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
Methods
Equals(AudioResampler?)
public bool Equals(AudioResampler? other)
Parameters
other
AudioResampler
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
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
GetMaxLatency()
public nuint GetMaxLatency()
Returns
GetOutFrames(nuint)
public nuint GetOutFrames(nuint inFrames)
Parameters
inFrames
nuint
Returns
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
AudioResamplerMethodflags
AudioResamplerFlagsformat
AudioFormatchannels
intinRate
intoutRate
intoptions
Structure
Returns
OptionsSetQuality(AudioResamplerMethod, uint, int, int, Structure)
public static void OptionsSetQuality(AudioResamplerMethod method, uint quality, int inRate, int outRate, Structure options)
Parameters
method
AudioResamplerMethodquality
uintinRate
intoutRate
intoptions
Structure
Resample(IntPtr, nuint, IntPtr, nuint)
public void Resample(IntPtr @in, nuint inFrames, IntPtr @out, nuint outFrames)
Parameters
Reset()
public void Reset()
Update(int, int, Structure)
public bool Update(int inRate, int outRate, Structure options)