diff options
Diffstat (limited to 'host/lib/usrp/device3')
-rw-r--r-- | host/lib/usrp/device3/device3_impl.hpp | 11 | ||||
-rw-r--r-- | host/lib/usrp/device3/device3_io_impl.cpp | 4 |
2 files changed, 10 insertions, 5 deletions
diff --git a/host/lib/usrp/device3/device3_impl.hpp b/host/lib/usrp/device3/device3_impl.hpp index 62fd399ac..17f6a3f6f 100644 --- a/host/lib/usrp/device3/device3_impl.hpp +++ b/host/lib/usrp/device3/device3_impl.hpp @@ -170,10 +170,15 @@ protected: /*********************************************************************** * Streaming-related **********************************************************************/ - // The 'rate' argument is so we can use these as subscribers to rate changes public: // TODO make these protected again - void update_rx_streamers(double rate = -1.0); - void update_tx_streamers(double rate = -1.0); + /*! Update tick rate, samp rate, and scaling on the streamers by querying + * the graph. + */ + void update_rx_streamers(); + /*! Update tick rate, samp rate, and scaling on the streamers by querying + * the graph. + */ + void update_tx_streamers(); protected: /*********************************************************************** diff --git a/host/lib/usrp/device3/device3_io_impl.cpp b/host/lib/usrp/device3/device3_io_impl.cpp index 188deb89c..06415dd91 100644 --- a/host/lib/usrp/device3/device3_io_impl.cpp +++ b/host/lib/usrp/device3/device3_io_impl.cpp @@ -256,7 +256,7 @@ bool device3_impl::recv_async_msg(async_metadata_t& async_metadata, double timeo /*********************************************************************** * Receive streamer **********************************************************************/ -void device3_impl::update_rx_streamers(double /* rate */) +void device3_impl::update_rx_streamers() { for (const std::string& block_id : _rx_streamers.keys()) { UHD_RX_STREAMER_LOG() << "updating RX streamer to " << block_id; @@ -523,7 +523,7 @@ rx_streamer::sptr device3_impl::get_rx_stream(const stream_args_t& args_) /*********************************************************************** * Transmit streamer **********************************************************************/ -void device3_impl::update_tx_streamers(double /* rate */) +void device3_impl::update_tx_streamers() { for (const std::string& block_id : _tx_streamers.keys()) { UHD_TX_STREAMER_LOG() << "updating TX streamer: " << block_id; |