diff options
author | Tom Rondeau | 2011-09-30 12:31:19 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-09-30 12:31:19 -0400 |
commit | 68e482626119f5e9b3782f8655debf1dd8d22979 (patch) | |
tree | 9fc935bdbd9f819d32646e2c82d2ef6ca0429db1 /gnuradio-core/src | |
parent | de4405ab0d8f6c423baadc15ab7d9fa11b6898c4 (diff) | |
download | gnuradio-68e482626119f5e9b3782f8655debf1dd8d22979.tar.gz gnuradio-68e482626119f5e9b3782f8655debf1dd8d22979.tar.bz2 gnuradio-68e482626119f5e9b3782f8655debf1dd8d22979.zip |
Added a method to get the current timing rate from the pfb clock sync block.
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r-- | gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.cc | 5 | ||||
-rw-r--r-- | gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.cc b/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.cc index a939609f3..622701ab7 100644 --- a/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.cc +++ b/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.cc @@ -187,6 +187,11 @@ gr_pfb_clock_sync_ccf::get_beta() const return d_beta; } +float get_clock_rate() const +{ + return d_rate_f; +} + /******************************************************************* *******************************************************************/ diff --git a/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.h b/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.h index fbe803d42..06a6f5720 100644 --- a/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.h +++ b/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.h @@ -314,6 +314,11 @@ public: */ float get_beta() const; + /*! + * \brief Returns the current clock rate + */ + float get_clock_rate() const; + /******************************************************************* *******************************************************************/ |