diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2014-04-10 13:05:30 -0700 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2014-04-10 13:05:30 -0700 |
commit | d3459ad697b4c38354731eb6e6fc1075b194d5ea (patch) | |
tree | cdc8fb0fbf8cee90d3b3d279b31b0372f1f04a57 /host/include | |
parent | bab808d883366123a944ce047a0b88a1b3ce1117 (diff) | |
parent | dfd019c5b76446830031c0c2352f0558dd48c210 (diff) | |
download | uhd-d3459ad697b4c38354731eb6e6fc1075b194d5ea.tar.gz uhd-d3459ad697b4c38354731eb6e6fc1075b194d5ea.tar.bz2 uhd-d3459ad697b4c38354731eb6e6fc1075b194d5ea.zip |
Merge branch 'martin/warn_sampling_rate'
Warn users if they request a sample rate greater than the interface bandwidth.
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/usrp/multi_usrp.hpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp index aac40efe5..883e4da3d 100644 --- a/host/include/uhd/usrp/multi_usrp.hpp +++ b/host/include/uhd/usrp/multi_usrp.hpp @@ -119,14 +119,10 @@ public: virtual device::sptr get_device(void) = 0; //! 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); - } + virtual rx_streamer::sptr get_rx_stream(const stream_args_t &args) = 0; //! 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); - } + virtual tx_streamer::sptr get_tx_stream(const stream_args_t &args) = 0; /*! * Returns identifying information about this USRP's configuration. |