summaryrefslogtreecommitdiff
path: root/src/fft.hpp
diff options
context:
space:
mode:
authorVasile Vilvoiu <vasi@vilvoiu.ro>2021-07-20 18:39:30 +0300
committerVasile Vilvoiu <vasi@vilvoiu.ro>2021-07-20 18:39:30 +0300
commita5943fb45b4065da9284f59cb912f6161823216a (patch)
tree2f26c46a2d4b1845ef65db2e6ff9a1d142077ec2 /src/fft.hpp
parent46f0cc9395ffc841626d9242238868383c146233 (diff)
No window constructor for FFT.
NaN fix in FFT::Resample. FFT::Crop index fix.
Diffstat (limited to 'src/fft.hpp')
-rw-r--r--src/fft.hpp3
1 files changed, 2 insertions, 1 deletions
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<WindowFunction>& 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