gstaudio.audio_resampler

Module for [AudioResampler] class

Types 1

#GstAudioResampler is a structure which holds the information required to perform various kinds of resampling filtering.

Fields
GstAudioResampler * _cInstancePtr
bool owned
Methods
void * _cPtr()
size_t getInFrames(size_t outFrames)Get the number of input frames that would currently be needed to produce out_frames from resampler.
size_t getMaxLatency()Get the maximum number of input samples that the resampler would need before producing output. Returns: the latency of resampler as expressed in the number of frames.
size_t getOutFrames(size_t inFrames)Get the number of output frames that would be currently available when in_frames are given to resampler.
void reset()Reset resampler to the state it was when it was first created, discarding all sample history.
bool update(int inRate, int outRate, gst.structure.Structure options)Update the resampler parameters for resampler. This function should not be called concurrently with any other function on resampler.
void optionsSetQuality(gstaudio.types.AudioResamplerMethod method, uint quality, int inRate, int outRate, gst.structure.Structure options)Set the parameters for resampling from inrate to outrate using method for quality in options.
Constructors
this(void * ptr, Flag!"Take" take)