aboutsummaryrefslogtreecommitdiffstats
path: root/gr-fft
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-08-13 17:16:49 +0200
committermormj <34754695+mormj@users.noreply.github.com>2020-08-14 06:08:39 -0400
commit05559c80e1ba206f553f8747de7ed5a20b145a59 (patch)
treea70e06be09e5a4f5aafde56f8a21102a6e807cad /gr-fft
parentuhd: wrap get_usrp_info to compatible return type (diff)
downloadgnuradio-05559c80e1ba206f553f8747de7ed5a20b145a59.tar.xz
gnuradio-05559c80e1ba206f553f8747de7ed5a20b145a59.zip
fft: window: Add WIN_NONE
fft::window is slated to replace firdes::window, we add the missing WIN_NONE for consistency between the two.
Diffstat (limited to 'gr-fft')
-rw-r--r--gr-fft/include/gnuradio/fft/window.h1
-rw-r--r--gr-fft/python/fft/bindings/window_python.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/gr-fft/include/gnuradio/fft/window.h b/gr-fft/include/gnuradio/fft/window.h
index 8cc6a5d9b..efb34fccf 100644
--- a/gr-fft/include/gnuradio/fft/window.h
+++ b/gr-fft/include/gnuradio/fft/window.h
@@ -23,6 +23,7 @@ class FFT_API window
{
public:
enum win_type {
+ WIN_NONE = -1, //!< don't use a window
WIN_HAMMING = 0, //!< Hamming window; max attenuation 53 dB
WIN_HANN = 1, //!< Hann window; max attenuation 44 dB
WIN_BLACKMAN = 2, //!< Blackman window; max attenuation 74 dB
diff --git a/gr-fft/python/fft/bindings/window_python.cc b/gr-fft/python/fft/bindings/window_python.cc
index dcd770b95..ffde426cb 100644
--- a/gr-fft/python/fft/bindings/window_python.cc
+++ b/gr-fft/python/fft/bindings/window_python.cc
@@ -14,7 +14,7 @@
/* BINDTOOL_GEN_AUTOMATIC(0) */
/* BINDTOOL_USE_PYGCCXML(0) */
/* BINDTOOL_HEADER_FILE(window.h) */
-/* BINDTOOL_HEADER_FILE_HASH(a2896456164142169fe7717e5f6570fc) */
+/* BINDTOOL_HEADER_FILE_HASH(b55c3b96105267729782fc5262efa28a) */
/***********************************************************************************/
#include <pybind11/complex.h>