Adding accessor function to Goertzel filter implementaiton to set/reset its parameters.
[debian/gnuradio] / gnuradio-core / src / lib / filter / gri_goertzel.h
index 1d20a920a2f7fd0f319a358d82f7058a2025e1be..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
  * 
 #include <gr_types.h>
 
 /*!
- * \brief implements Goertzel single-bin DFT calculation
+ * \brief Implements Goertzel single-bin DFT calculation
+ * \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);