summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_simple_source.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-05 17:35:16 -0700
committerJosh Blum <josh@joshknows.com>2010-08-05 17:35:16 -0700
commit068cac15d2d4ef787dee7bcbb1158c03805b2656 (patch)
treec48c7ef823bae0ee44ce6126bba086d9e9c3d92a /gr-uhd/lib/uhd_simple_source.h
parentc3c4303b9fa4987369e9641ab4206724da74f3b2 (diff)
uhd: added subdev spec setting to gr-uhd blocks, and simple uhd grc wrappers (mimo coming)
Diffstat (limited to 'gr-uhd/lib/uhd_simple_source.h')
-rw-r--r--gr-uhd/lib/uhd_simple_source.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-uhd/lib/uhd_simple_source.h b/gr-uhd/lib/uhd_simple_source.h
index 8568fc2d40..b95c0cfd9d 100644
--- a/gr-uhd/lib/uhd_simple_source.h
+++ b/gr-uhd/lib/uhd_simple_source.h
@@ -43,6 +43,12 @@ public:
uhd_simple_source(gr_io_signature_sptr sig);
/*!
+ * Set the subdevice specification.
+ * \param spec the subdev spec markup string
+ */
+ virtual void set_subdev_spec(const std::string &spec) = 0;
+
+ /*!
* Set the sample rate for the usrp device.
* \param rate a new rate in Sps
*/