Flan
|
The resampler class for 24-bit resampling. More...
#include <CDSPResampler.h>
Public Member Functions | |
CDSPResampler24 (const double SrcSampleRate, const double DstSampleRate, const int aMaxInLen, const double ReqTransBand=2.0) | |
Constructor initializes the 24-bit resampler (including 32-bit floating point). More... | |
![]() | |
CDSPResampler (const double SrcSampleRate, const double DstSampleRate, const int aMaxInLen, const double ReqTransBand=2.0, const double ReqAtten=206.91, const EDSPFilterPhaseResponse ReqPhase=fprLinearPhase) | |
Constructor initalizes the resampler object. More... | |
virtual int | getLatency () const |
virtual double | getLatencyFrac () const |
virtual int | getMaxOutLen (const int) const |
This function ignores the supplied parameter and returns the maximal output buffer length that depends on the MaxInLen supplied to the constructor. | |
virtual void | clear () |
Function clears (resets) the state of *this object and returns it to the state after construction. More... | |
virtual int | process (double *ip0, int l, double *&op0) |
Function performs sample rate conversion. More... | |
template<class Tin , class Tout > | |
void | oneshot (const Tin *ip, int iplen, Tout *op, int oplen) |
Function performs resampling of an input sample buffer of the specified length in the "one-shot" mode. More... | |
int | getInLenBeforeOutStart () |
Function obtains overall input sample count required to produce first output sample. More... | |
The resampler class for 24-bit resampling.
This class defines resampling parameters suitable for 24-bit resampling (including 32-bit floating point resampling), using linear-phase low-pass filter. See the r8b::CDSPResampler class for details.
|
inline |
Constructor initializes the 24-bit resampler (including 32-bit floating point).
See the r8b::CDSPResampler class for details.
SrcSampleRate | Source signal sample rate. |
DstSampleRate | Destination signal sample rate. |
aMaxInLen | The maximal planned length of the input buffer (in samples) that will be passed to the resampler. |
ReqTransBand | Required transition band, in percent. |