fft avgeraging float->double to remove some jitter
This commit is contained in:
parent
acd856646f
commit
7095993ba2
|
@ -48,12 +48,12 @@ private:
|
||||||
unsigned int lastDataSize;
|
unsigned int lastDataSize;
|
||||||
fftwf_plan fftw_plan;
|
fftwf_plan fftw_plan;
|
||||||
|
|
||||||
float fft_ceil_ma, fft_ceil_maa;
|
double fft_ceil_ma, fft_ceil_maa;
|
||||||
float fft_floor_ma, fft_floor_maa;
|
double fft_floor_ma, fft_floor_maa;
|
||||||
|
|
||||||
std::vector<float> fft_result;
|
std::vector<double> fft_result;
|
||||||
std::vector<float> fft_result_ma;
|
std::vector<double> fft_result_ma;
|
||||||
std::vector<float> fft_result_maa;
|
std::vector<double> fft_result_maa;
|
||||||
|
|
||||||
msresamp_crcf resampler;
|
msresamp_crcf resampler;
|
||||||
double resamplerRatio;
|
double resamplerRatio;
|
||||||
|
|
Loading…
Reference in New Issue