iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iplug::LanczosResampler< T, NCHANS, A > Class Template Reference

Public Member Functions

 LanczosResampler (float inputRate, float outputRate)
 Constructor. More...
 
size_t GetNumSamplesRequiredFor (size_t nOutputSamples) const
 
void PushBlock (T **inputs, size_t nFrames, int nChans)
 
size_t PopBlock (T **outputs, size_t max, int nChans)
 
void RenormalizePhases ()
 
void Reset ()
 
void ClearBuffer ()
 

Detailed Description

template<typename T = double, int NCHANS = 2, size_t A = 12>
class iplug::LanczosResampler< T, NCHANS, A >

Definition at line 92 of file LanczosResampler.h.

Constructor & Destructor Documentation

◆ LanczosResampler()

template<typename T = double, int NCHANS = 2, size_t A = 12>
iplug::LanczosResampler< T, NCHANS, A >::LanczosResampler ( float  inputRate,
float  outputRate 
)
inline

Constructor.

Parameters
inputRateThe input sample rate
outputRateThe output sample rate

Definition at line 113 of file LanczosResampler.h.

Member Function Documentation

◆ ClearBuffer()

template<typename T = double, int NCHANS = 2, size_t A = 12>
void iplug::LanczosResampler< T, NCHANS, A >::ClearBuffer ( )
inline

Definition at line 209 of file LanczosResampler.h.

◆ GetNumSamplesRequiredFor()

template<typename T = double, int NCHANS = 2, size_t A = 12>
size_t iplug::LanczosResampler< T, NCHANS, A >::GetNumSamplesRequiredFor ( size_t  nOutputSamples) const
inline

Definition at line 158 of file LanczosResampler.h.

◆ PopBlock()

template<typename T = double, int NCHANS = 2, size_t A = 12>
size_t iplug::LanczosResampler< T, NCHANS, A >::PopBlock ( T **  outputs,
size_t  max,
int  nChans 
)
inline

Definition at line 186 of file LanczosResampler.h.

◆ PushBlock()

template<typename T = double, int NCHANS = 2, size_t A = 12>
void iplug::LanczosResampler< T, NCHANS, A >::PushBlock ( T **  inputs,
size_t  nFrames,
int  nChans 
)
inline

Definition at line 171 of file LanczosResampler.h.

◆ RenormalizePhases()

template<typename T = double, int NCHANS = 2, size_t A = 12>
void iplug::LanczosResampler< T, NCHANS, A >::RenormalizePhases ( )
inline

Definition at line 198 of file LanczosResampler.h.

◆ Reset()

template<typename T = double, int NCHANS = 2, size_t A = 12>
void iplug::LanczosResampler< T, NCHANS, A >::Reset ( )
inline

Definition at line 204 of file LanczosResampler.h.


The documentation for this class was generated from the following file: