summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_single_usrp_source.h
diff options
context:
space:
mode:
authorJosh Blum2010-10-19 15:46:27 -0700
committerJosh Blum2010-10-19 15:46:27 -0700
commitf13e1e1a87cf3d8b891e94226be047cff3733bb7 (patch)
tree10b39f0b6acd22a75f37ce4a995e8f4eee7dc76d /gr-uhd/lib/uhd_single_usrp_source.h
parentc6e4a54769e2d5be3cfd28df6697c54c4a4a7e90 (diff)
downloadgnuradio-f13e1e1a87cf3d8b891e94226be047cff3733bb7.tar.gz
gnuradio-f13e1e1a87cf3d8b891e94226be047cff3733bb7.tar.bz2
gnuradio-f13e1e1a87cf3d8b891e94226be047cff3733bb7.zip
uhd: implement set bandwidth for uhd blocks, remove chan=0 default for multi blocks
Diffstat (limited to 'gr-uhd/lib/uhd_single_usrp_source.h')
-rw-r--r--gr-uhd/lib/uhd_single_usrp_source.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-uhd/lib/uhd_single_usrp_source.h b/gr-uhd/lib/uhd_single_usrp_source.h
index c323fbd7e..1b71d2ad5 100644
--- a/gr-uhd/lib/uhd_single_usrp_source.h
+++ b/gr-uhd/lib/uhd_single_usrp_source.h
@@ -111,6 +111,12 @@ public:
virtual std::vector<std::string> get_antennas(size_t chan = 0) = 0;
/*!
+ * Set the subdevice bandpass filter.
+ * \param bandwidth the filter bandwidth in Hz
+ */
+ virtual void set_bandwidth(double bandwidth, size_t chan = 0) = 0;
+
+ /*!
* Set the clock configuration.
* \param clock_config the new configuration
*/