libsidplayfp 2.15.0
|
#include <Resampler.h>
Public Member Functions | |
virtual bool | input (int sample)=0 |
short | getOutput (int scaleFactor) const |
virtual void | reset ()=0 |
Protected Member Functions | |
virtual int | output () const =0 |
Static Protected Member Functions | |
static short | softClip (int x) |
Abstraction of a resampling process. Given enough input, produces output. Constructors take additional arguments that configure these objects.
|
inline |
Output a sample from resampler.
|
pure virtual |
Input a sample into resampler. Output "true" when resampler is ready with new sample.
sample | input sample |
Implemented in reSIDfp::SincResampler, reSIDfp::TwoPassSincResampler, and reSIDfp::ZeroOrderResampler.