summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_simple_sink.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/lib/uhd_simple_sink.cc')
-rw-r--r--gr-uhd/lib/uhd_simple_sink.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-uhd/lib/uhd_simple_sink.cc b/gr-uhd/lib/uhd_simple_sink.cc
index 44f60a05f..1443490cd 100644
--- a/gr-uhd/lib/uhd_simple_sink.cc
+++ b/gr-uhd/lib/uhd_simple_sink.cc
@@ -29,7 +29,7 @@
* UHD Sink
**********************************************************************/
uhd_simple_sink::uhd_simple_sink(gr_io_signature_sptr sig)
-:gr_sync_block("uhd sink", sig, gr_make_io_signature(0, 0, 0)){
+:gr_sync_block("uhd simple sink", sig, gr_make_io_signature(0, 0, 0)){
/* NOP */
}
@@ -119,8 +119,8 @@ public:
metadata.start_of_burst = true;
return _dev->get_device()->send(
- boost::asio::buffer(input_items[0], noutput_items*_type.size),
- metadata, _type, uhd::device::SEND_MODE_FULL_BUFF
+ input_items, noutput_items, metadata,
+ _type, uhd::device::SEND_MODE_FULL_BUFF
);
}