diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-04-17 13:43:52 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-04-29 14:52:56 -0400 |
commit | f3e2e07201c50033bf6c9d0c6a6f068557b4f17f (patch) | |
tree | 140b3c2d20a951ffd4abd564c3378ee2e2f9fc7c /gr-blocks/lib/stream_to_streams_impl.cc | |
parent | 35303ae975a5b1bdecc2492bc96e2b8e89b62a3d (diff) |
runtime: converting runtime core to gr namespace, gnuradio include dir.
Diffstat (limited to 'gr-blocks/lib/stream_to_streams_impl.cc')
-rw-r--r-- | gr-blocks/lib/stream_to_streams_impl.cc | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/gr-blocks/lib/stream_to_streams_impl.cc b/gr-blocks/lib/stream_to_streams_impl.cc index 9e9052e7d5..76974ce0ad 100644 --- a/gr-blocks/lib/stream_to_streams_impl.cc +++ b/gr-blocks/lib/stream_to_streams_impl.cc @@ -25,29 +25,31 @@ #endif #include "stream_to_streams_impl.h" -#include <gr_io_signature.h> +#include <gnuradio/io_signature.h> #include <string.h> namespace gr { namespace blocks { - stream_to_streams::sptr stream_to_streams::make(size_t itemsize, size_t nstreams) + stream_to_streams::sptr + stream_to_streams::make(size_t itemsize, size_t nstreams) { - return gnuradio::get_initial_sptr(new stream_to_streams_impl(itemsize, nstreams)); + return gnuradio::get_initial_sptr + (new stream_to_streams_impl(itemsize, nstreams)); } stream_to_streams_impl::stream_to_streams_impl(size_t itemsize, size_t nstreams) - : gr_sync_decimator("stream_to_streams", - gr_make_io_signature (1, 1, itemsize), - gr_make_io_signature (nstreams, nstreams, itemsize), - nstreams) + : sync_decimator("stream_to_streams", + io_signature::make(1, 1, itemsize), + io_signature::make(nstreams, nstreams, itemsize), + nstreams) { } int stream_to_streams_impl::work(int noutput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items) + gr_vector_const_void_star &input_items, + gr_vector_void_star &output_items) { size_t item_size = output_signature()->sizeof_stream_item(0); |