Class AudioResampler
public class AudioResampler
- Inheritance
-
AudioResampler
- Inherited Members
Methods
Free(AudioResamplerHandle)
Calls native method gst_audio_resampler_free.
public static extern void Free(AudioResamplerHandle resampler)
Parameters
resampler
AudioResamplerHandleTransfer ownership: None Nullable: False
GetInFrames(AudioResamplerHandle, nuint)
Calls native method gst_audio_resampler_get_in_frames.
public static extern nuint GetInFrames(AudioResamplerHandle resampler, nuint outFrames)
Parameters
resampler
AudioResamplerHandleTransfer ownership: None Nullable: False
outFrames
nuintTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
GetMaxLatency(AudioResamplerHandle)
Calls native method gst_audio_resampler_get_max_latency.
public static extern nuint GetMaxLatency(AudioResamplerHandle resampler)
Parameters
resampler
AudioResamplerHandleTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
GetOutFrames(AudioResamplerHandle, nuint)
Calls native method gst_audio_resampler_get_out_frames.
public static extern nuint GetOutFrames(AudioResamplerHandle resampler, nuint inFrames)
Parameters
resampler
AudioResamplerHandleTransfer ownership: None Nullable: False
inFrames
nuintTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
New(AudioResamplerMethod, AudioResamplerFlags, AudioFormat, int, int, int, StructureHandle)
Calls native function gst_audio_resampler_new.
public static extern AudioResamplerOwnedHandle New(AudioResamplerMethod method, AudioResamplerFlags flags, AudioFormat format, int channels, int inRate, int outRate, StructureHandle options)
Parameters
method
AudioResamplerMethodTransfer ownership: None Nullable: False
flags
AudioResamplerFlagsTransfer ownership: None Nullable: False
format
AudioFormatTransfer ownership: None Nullable: False
channels
intTransfer ownership: None Nullable: False
inRate
intTransfer ownership: None Nullable: False
outRate
intTransfer ownership: None Nullable: False
options
StructureHandleTransfer ownership: None Nullable: False
Returns
- AudioResamplerOwnedHandle
Transfer ownership: Full Nullable: False
OptionsSetQuality(AudioResamplerMethod, uint, int, int, StructureHandle)
Calls native function gst_audio_resampler_options_set_quality.
public static extern void OptionsSetQuality(AudioResamplerMethod method, uint quality, int inRate, int outRate, StructureHandle options)
Parameters
method
AudioResamplerMethodTransfer ownership: None Nullable: False
quality
uintTransfer ownership: None Nullable: False
inRate
intTransfer ownership: None Nullable: False
outRate
intTransfer ownership: None Nullable: False
options
StructureHandleTransfer ownership: None Nullable: False
Resample(AudioResamplerHandle, IntPtr, nuint, IntPtr, nuint)
Calls native method gst_audio_resampler_resample.
public static extern void Resample(AudioResamplerHandle resampler, IntPtr @in, nuint inFrames, IntPtr @out, nuint outFrames)
Parameters
resampler
AudioResamplerHandleTransfer ownership: None Nullable: False
in
IntPtrinFrames
nuintTransfer ownership: None Nullable: False
out
IntPtroutFrames
nuintTransfer ownership: None Nullable: False
Reset(AudioResamplerHandle)
Calls native method gst_audio_resampler_reset.
public static extern void Reset(AudioResamplerHandle resampler)
Parameters
resampler
AudioResamplerHandleTransfer ownership: None Nullable: False
Update(AudioResamplerHandle, int, int, StructureHandle)
Calls native method gst_audio_resampler_update.
public static extern bool Update(AudioResamplerHandle resampler, int inRate, int outRate, StructureHandle options)
Parameters
resampler
AudioResamplerHandleTransfer ownership: None Nullable: False
inRate
intTransfer ownership: None Nullable: False
outRate
intTransfer ownership: None Nullable: False
options
StructureHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False