summaryrefslogtreecommitdiff
path: root/gr-digital/lib/fll_band_edge_cc_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/lib/fll_band_edge_cc_impl.h')
-rw-r--r--gr-digital/lib/fll_band_edge_cc_impl.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/gr-digital/lib/fll_band_edge_cc_impl.h b/gr-digital/lib/fll_band_edge_cc_impl.h
index 7bec745262..0049f59c29 100644
--- a/gr-digital/lib/fll_band_edge_cc_impl.h
+++ b/gr-digital/lib/fll_band_edge_cc_impl.h
@@ -1,19 +1,19 @@
/* -*- c++ -*- */
/*
- * Copyright 2009,2011,2012 Free Software Foundation, Inc.
- *
+ * Copyright 2009,2011,2012,2014 Free Software Foundation, Inc.
+ *
* This file is part of GNU Radio
- *
+ *
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
- *
+ *
* GNU Radio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with GNU Radio; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
@@ -25,7 +25,7 @@
#include <gnuradio/digital/fll_band_edge_cc.h>
#include <gnuradio/blocks/control_loop.h>
-#include <gnuradio/filter/fir_filter.h>
+#include <gnuradio/filter/fir_filter_with_buffer.h>
namespace gr {
namespace digital {
@@ -41,10 +41,8 @@ namespace gr {
std::vector<gr_complex> d_taps_lower;
std::vector<gr_complex> d_taps_upper;
bool d_updated;
- std::vector<gr_complex> d_output_hist;
- std::vector<gr_complex> d_fllbuffer;
- gr::filter::kernel::fir_filter_ccc* d_filter_lower;
- gr::filter::kernel::fir_filter_ccc* d_filter_upper;
+ gr::filter::kernel::fir_filter_with_buffer_ccc* d_filter_lower;
+ gr::filter::kernel::fir_filter_with_buffer_ccc* d_filter_upper;
/*!
* Design the band-edge filter based on the number of samples
@@ -70,7 +68,7 @@ namespace gr {
int filter_size() const;
void print_taps();
-
+
int work(int noutput_items,
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);