diff options
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_sync_interpolator.cc | 4 | ||||
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_sync_interpolator.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_sync_interpolator.cc b/gnuradio-core/src/lib/runtime/gr_sync_interpolator.cc index f61e59ea1..d130a5be1 100644 --- a/gnuradio-core/src/lib/runtime/gr_sync_interpolator.cc +++ b/gnuradio-core/src/lib/runtime/gr_sync_interpolator.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2004 Free Software Foundation, Inc. + * Copyright 2004,2008 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -50,7 +50,7 @@ gr_sync_interpolator::fixed_rate_noutput_to_ninput(int noutput_items) } int -gr_sync_interpolator::fixed_rate_ninput_to_noutout(int ninput_items) +gr_sync_interpolator::fixed_rate_ninput_to_noutput(int ninput_items) { return std::max(0, ninput_items - (int)history() + 1) * interpolation(); } diff --git a/gnuradio-core/src/lib/runtime/gr_sync_interpolator.h b/gnuradio-core/src/lib/runtime/gr_sync_interpolator.h index b5dfed70c..87e718cca 100644 --- a/gnuradio-core/src/lib/runtime/gr_sync_interpolator.h +++ b/gnuradio-core/src/lib/runtime/gr_sync_interpolator.h @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2004 Free Software Foundation, Inc. + * Copyright 2004,2008 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -60,7 +60,7 @@ class gr_sync_interpolator : public gr_sync_block // derived classes should override work - int fixed_rate_ninput_to_noutout(int ninput); + int fixed_rate_ninput_to_noutput(int ninput); int fixed_rate_noutput_to_ninput(int noutput); }; |