diff options
author | jcorgan | 2008-04-11 21:31:25 +0000 |
---|---|---|
committer | jcorgan | 2008-04-11 21:31:25 +0000 |
commit | c989df7703fb0c2869dc1de7e18df311e2bf626a (patch) | |
tree | 2b4f504ae311ed1912ba7ce59af048767ecf8be0 /gnuradio-core/src/lib/general/gr_repeat.i | |
parent | a761af14ad4a589637658f20ed3e58fcf7131bdd (diff) | |
download | gnuradio-c989df7703fb0c2869dc1de7e18df311e2bf626a.tar.gz gnuradio-c989df7703fb0c2869dc1de7e18df311e2bf626a.tar.bz2 gnuradio-c989df7703fb0c2869dc1de7e18df311e2bf626a.zip |
Adds gr.repeat(), an interpolating block to repeat a sample N times on the output.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8186 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib/general/gr_repeat.i')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_repeat.i | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/general/gr_repeat.i b/gnuradio-core/src/lib/general/gr_repeat.i new file mode 100644 index 000000000..c657a4906 --- /dev/null +++ b/gnuradio-core/src/lib/general/gr_repeat.i @@ -0,0 +1,11 @@ +/* -*- c++ -*- */ + +GR_SWIG_BLOCK_MAGIC(gr,repeat); + +gr_repeat_sptr gr_make_repeat(size_t itemsize, int interp); + +class gr_repeat : public gr_sync_interpolator +{ +private: + gr_repeat(); +}; |