From a5943fb45b4065da9284f59cb912f6161823216a Mon Sep 17 00:00:00 2001 From: Vasile Vilvoiu Date: Tue, 20 Jul 2021 18:39:30 +0300 Subject: No window constructor for FFT. NaN fix in FFT::Resample. FFT::Crop index fix. --- src/fft.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/fft.hpp') diff --git a/src/fft.hpp b/src/fft.hpp index 273a7f5..9008c05 100644 --- a/src/fft.hpp +++ b/src/fft.hpp @@ -33,6 +33,7 @@ public: FFT(FFT &&) = delete; FFT & operator=(const FFT&) = delete; + explicit FFT(std::size_t win_width); FFT(std::size_t win_width, std::unique_ptr& win_func); virtual ~FFT(); @@ -45,4 +46,4 @@ public: static RealWindow Crop(const RealWindow& input, double rate, double fmin, double fmax); }; -#endif \ No newline at end of file +#endif -- cgit v1.2.3