aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/multi_usrp.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp
index 27b5f3d9a..4efc062b0 100644
--- a/host/include/uhd/usrp/multi_usrp.hpp
+++ b/host/include/uhd/usrp/multi_usrp.hpp
@@ -614,6 +614,17 @@ public:
*/
virtual void set_rx_rate(double rate, size_t chan = ALL_CHANS) = 0;
+ /*! Set the number of samples sent per packet (spp) for RX streaming
+ *
+ * On RFNoC devices, this will set the spp value on the radio itself. For
+ * older devices, it will inject the spp value into a later get_rx_stream()
+ * call, but it won't change anything in existing streamers.
+ *
+ * \param spp the new spp value
+ * \param chan the channel index 0 to N-1
+ */
+ virtual void set_rx_spp(const size_t spp, const size_t chan = ALL_CHANS) = 0;
+
/*!
* Gets the RX sample rate.
* \param chan the channel index 0 to N-1