23 #ifndef SINCRESAMPLER_H
24 #define SINCRESAMPLER_H
26 #include "Resampler.h"
54 static constexpr
int RINGSIZE = 2048;
56 #ifdef RUNTIME_DISPATCH
58 using convolve_func_t =
auto (*)(
const int32_t*,
const int16_t*, int) -> int32_t;
60 convolve_func_t simd_convolve;
75 const int cyclesPerSample;
79 int32_t outputValue = 0;
81 int32_t sample[RINGSIZE * 2] = {0};
84 int32_t fir(
int subcycle);
108 double clockFrequency,
109 double samplingFrequency,
110 double highestAccurateFrequency);
115 int32_t output()
const override {
return outputValue; }
117 void reset()
override;
Definition: SincResampler.h:48
bool input(int32_t input) override
Definition: SincResampler.cpp:305
Definition: Resampler.h:36