summaryrefslogtreecommitdiff
path: root/gr-filter/include
diff options
context:
space:
mode:
authorTom Rondeau2012-06-20 22:10:01 -0400
committerTom Rondeau2012-06-20 22:10:01 -0400
commit55b068b864aae01e7ed37d861010b93042a21ea9 (patch)
tree8d5af832d982d1a64ecbb5c37c7baf1652ec49dc /gr-filter/include
parenta0ffd48d73eda63d5fa3a9ded1dc0f34b116da9d (diff)
parent958bc6f7365a19b42b0acc98e4c082eee6cf6e51 (diff)
downloadgnuradio-55b068b864aae01e7ed37d861010b93042a21ea9.tar.gz
gnuradio-55b068b864aae01e7ed37d861010b93042a21ea9.tar.bz2
gnuradio-55b068b864aae01e7ed37d861010b93042a21ea9.zip
Merge branch 'gr_filter'
Diffstat (limited to 'gr-filter/include')
-rw-r--r--gr-filter/include/filter/pfb_arb_resampler_ccf.h13
-rw-r--r--gr-filter/include/filter/pfb_arb_resampler_fff.h13
2 files changed, 26 insertions, 0 deletions
diff --git a/gr-filter/include/filter/pfb_arb_resampler_ccf.h b/gr-filter/include/filter/pfb_arb_resampler_ccf.h
index cf5fa4a3b..397ac25ea 100644
--- a/gr-filter/include/filter/pfb_arb_resampler_ccf.h
+++ b/gr-filter/include/filter/pfb_arb_resampler_ccf.h
@@ -129,7 +129,20 @@ namespace gr {
*/
virtual void print_taps() = 0;
+ /*!
+ * Sets the resampling rate of the block.
+ */
virtual void set_rate (float rate) = 0;
+
+ /*!
+ * Sets the current phase offset in radians (0 to 2pi).
+ */
+ virtual void set_phase(float ph) = 0;
+
+ /*!
+ * Gets the current phase of the resampler in radians (2 to 2pi).
+ */
+ virtual float phase() const = 0;
};
} /* namespace filter */
diff --git a/gr-filter/include/filter/pfb_arb_resampler_fff.h b/gr-filter/include/filter/pfb_arb_resampler_fff.h
index 2504c92ec..b6623b028 100644
--- a/gr-filter/include/filter/pfb_arb_resampler_fff.h
+++ b/gr-filter/include/filter/pfb_arb_resampler_fff.h
@@ -130,7 +130,20 @@ namespace gr {
*/
virtual void print_taps() = 0;
+ /*!
+ * Sets the resampling rate of the block.
+ */
virtual void set_rate (float rate) = 0;
+
+ /*!
+ * Sets the current phase offset in radians (0 to 2pi).
+ */
+ virtual void set_phase(float ph) = 0;
+
+ /*!
+ * Gets the current phase of the resampler in radians (2 to 2pi).
+ */
+ virtual float phase() const = 0;
};
} /* namespace filter */