20 #ifndef MPD_PCM_RESAMPLER_HXX
21 #define MPD_PCM_RESAMPLER_HXX
49 unsigned new_sample_rate) = 0;
55 virtual void Close() = 0;
virtual void Close()=0
Closes the resampler.
virtual AudioFormat Open(AudioFormat &af, unsigned new_sample_rate)=0
Opens the resampler, preparing it for Resample().
virtual void Reset()
Reset the filter's state, e.g.
This is an interface for plugins that convert PCM data to a specific sample rate. ...
virtual ConstBuffer< void > Resample(ConstBuffer< void > src)=0
Resamples a block of PCM data.