Adding accessor function to Goertzel filter implementaiton to set/reset its parameters.
[debian/gnuradio] / gnuradio-core / src / lib / filter / gri_goertzel.h
index a42ab08cd1c91b41510d289105d7a2c189a73697..e062f000e01c83e42c38948d195bd9c7a6c48b6b 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2006 Free Software Foundation, Inc.
+ * Copyright 2006,2011 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
 
 /*!
  * \brief Implements Goertzel single-bin DFT calculation
- * \ingroup dft
+ * \ingroup misc
  */
-
 class gri_goertzel
 {
 public:
   gri_goertzel() {}
   gri_goertzel(int rate, int len, float freq);
+  void gri_setparms(int rate, int len, float freq);
 
   // Process a input array
   gr_complex batch(float *in);