aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2014-04-07 18:27:22 -0700
committerBen Hilburn <ben.hilburn@ettus.com>2014-04-07 18:27:22 -0700
commit56f709cf98c7bcc00df11bc3166d8450249ec6f3 (patch)
treeac8bbdd982340d7639ab5eb60d3329b9a2f47734 /host
parent642f3fb5823f292ae29cc38c8897327dfbdc3c15 (diff)
parentb6f125388bb7bda1a8afd591b193a04a54252889 (diff)
downloaduhd-56f709cf98c7bcc00df11bc3166d8450249ec6f3.tar.gz
uhd-56f709cf98c7bcc00df11bc3166d8450249ec6f3.tar.bz2
uhd-56f709cf98c7bcc00df11bc3166d8450249ec6f3.zip
Merge branch 'maint'
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/device.hpp12
-rw-r--r--host/include/uhd/usrp/multi_usrp.hpp4
2 files changed, 12 insertions, 4 deletions
diff --git a/host/include/uhd/device.hpp b/host/include/uhd/device.hpp
index 1090c243c..b54ffc5f7 100644
--- a/host/include/uhd/device.hpp
+++ b/host/include/uhd/device.hpp
@@ -77,10 +77,18 @@ public:
*/
static sptr make(const device_addr_t &hint, size_t which = 0);
- //! Make a new receive streamer from the streamer arguments
+ /*! \brief Make a new receive streamer from the streamer arguments
+ *
+ * Note: There can always only be one streamer. When calling get_rx_stream()
+ * a second time, the first streamer must be destroyed beforehand.
+ */
virtual rx_streamer::sptr get_rx_stream(const stream_args_t &args) = 0;
- //! Make a new transmit streamer from the streamer arguments
+ /*! \brief Make a new transmit streamer from the streamer arguments
+ *
+ * Note: There can always only be one streamer. When calling get_tx_stream()
+ * a second time, the first streamer must be destroyed beforehand.
+ */
virtual tx_streamer::sptr get_tx_stream(const stream_args_t &args) = 0;
//! Get access to the underlying property structure
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp
index 5b4991202..aac40efe5 100644
--- a/host/include/uhd/usrp/multi_usrp.hpp
+++ b/host/include/uhd/usrp/multi_usrp.hpp
@@ -118,12 +118,12 @@ public:
*/
virtual device::sptr get_device(void) = 0;
- //! Convenience method to get a RX streamer
+ //! Convenience method to get a RX streamer. See also uhd::device::get_rx_stream().
rx_streamer::sptr get_rx_stream(const stream_args_t &args){
return this->get_device()->get_rx_stream(args);
}
- //! Convenience method to get a TX streamer
+ //! Convenience method to get a TX streamer. See also uhd::device::get_rx_stream().
tx_streamer::sptr get_tx_stream(const stream_args_t &args){
return this->get_device()->get_tx_stream(args);
}