Revision 4e636b2b gr-uhd/lib/uhd_simple_source.cc
| b/gr-uhd/lib/uhd_simple_source.cc | ||
|---|---|---|
| 29 | 29 |
* UHD Source |
| 30 | 30 |
**********************************************************************/ |
| 31 | 31 |
uhd_simple_source::uhd_simple_source(gr_io_signature_sptr sig) |
| 32 |
:gr_sync_block("uhd source", gr_make_io_signature(0, 0, 0), sig){
|
|
| 32 |
:gr_sync_block("uhd simple source", gr_make_io_signature(0, 0, 0), sig){
|
|
| 33 | 33 |
/* NOP */ |
| 34 | 34 |
} |
| 35 | 35 |
|
| ... | ... | |
| 123 | 123 |
uhd::rx_metadata_t metadata; //not passed out of this block |
| 124 | 124 |
|
| 125 | 125 |
return _dev->get_device()->recv( |
| 126 |
boost::asio::buffer(output_items[0], noutput_items*_type.size),
|
|
| 127 |
metadata, _type, uhd::device::RECV_MODE_FULL_BUFF
|
|
| 126 |
output_items, noutput_items, metadata,
|
|
| 127 |
_type, uhd::device::RECV_MODE_FULL_BUFF |
|
| 128 | 128 |
); |
| 129 | 129 |
} |
| 130 | 130 |
|
Also available in: Unified diff