diff options
author | Ben Reynwar <ben@reynwar.net> | 2013-05-19 02:55:33 -0700 |
---|---|---|
committer | Ben Reynwar <ben@reynwar.net> | 2013-05-19 02:55:33 -0700 |
commit | bb01988e75d50d82cbb44c1a49c86c1d08f05665 (patch) | |
tree | 0528dac14476d37f2cde7374a8fcb3428f879c69 /gr-uhd/lib/usrp_sink_impl.cc | |
parent | e4f0319eced22c112f7e6a4cc45bc2036d285332 (diff) | |
parent | 0fa219774dcf9141ae91204f948c029b05673f3f (diff) |
Merged in next_docs branch.
Diffstat (limited to 'gr-uhd/lib/usrp_sink_impl.cc')
-rw-r--r-- | gr-uhd/lib/usrp_sink_impl.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-uhd/lib/usrp_sink_impl.cc b/gr-uhd/lib/usrp_sink_impl.cc index 8a315a2e40..d38ffc344d 100644 --- a/gr-uhd/lib/usrp_sink_impl.cc +++ b/gr-uhd/lib/usrp_sink_impl.cc @@ -22,7 +22,7 @@ #include "usrp_sink_impl.h" #include "gr_uhd_common.h" -#include <gr_io_signature.h> +#include <gnuradio/io_signature.h> #include <boost/make_shared.hpp> #include <stdexcept> @@ -60,9 +60,9 @@ namespace gr { usrp_sink_impl::usrp_sink_impl(const ::uhd::device_addr_t &device_addr, const ::uhd::stream_args_t &stream_args) - : gr_sync_block("gr uhd usrp sink", + : sync_block("gr uhd usrp sink", args_to_io_sig(stream_args), - gr_make_io_signature(0, 0, 0)), + io_signature::make(0, 0, 0)), _stream_args(stream_args), _nchan(std::max<size_t>(1, stream_args.channels.size())), _stream_now(_nchan == 1), @@ -473,10 +473,10 @@ namespace gr { usrp_sink_impl::tag_work(int &ninput_items) { //the for loop below assumes tags sorted by count low -> high - std::sort(_tags.begin(), _tags.end(), gr_tag_t::offset_compare); + std::sort(_tags.begin(), _tags.end(), tag_t::offset_compare); //extract absolute sample counts - const gr_tag_t &tag0 = _tags.front(); + const tag_t &tag0 = _tags.front(); const uint64_t tag0_count = tag0.offset; const uint64_t samp0_count = this->nitems_read(0); @@ -491,7 +491,7 @@ namespace gr { _metadata.has_time_spec = false; //process all of the tags found with the same count as tag0 - BOOST_FOREACH(const gr_tag_t &my_tag, _tags) { + BOOST_FOREACH(const tag_t &my_tag, _tags) { const uint64_t my_tag_count = my_tag.offset; const pmt::pmt_t &key = my_tag.key; const pmt::pmt_t &value = my_tag.value; |