52 unsigned int decim_ratio,
63 unsigned int apply(std::complex<float> * in,
64 std::complex<float> * out,
float gain = 1.0);
72 unsigned int apply(
float * in,
73 float * out,
float gain = 1.0);
103 #endif // RESAMPLER_HDR std::complex< float > * inbuf
the fft input buffer
This is an overlap-and-save frequency domain implementation of a general FIR filter widget...
std::complex< float > ** c_filt
filter bank for interp/deci filter
void CreateFilter(unsigned int filter_len)
create a filter bank for a polyphase resampler.
std::complex< float > * in_fft
the result of the first fft stage
int filter_len
the length of the polyphase filter that we're using.
ReSampler(unsigned int interp_ratio, unsigned int decim_ratio, unsigned int _inlen, unsigned int filter_len)
Constructor.
std::complex< float > * filt_fft
the filtered image of the input stream
std::complex< float > * interp_res
the interpolation result
unsigned int apply(std::complex< float > *in, std::complex< float > *out, float gain=1.0)
apply the resampler to a buffer of IQ samples.