summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-10-13 13:32:54 -0700
committerJosh Blum <josh@joshknows.com>2011-11-03 20:37:12 -0700
commit55d074fdd1fdada732b9e1b477d2f43948243ee1 (patch)
tree806177050a840904d184b66fe2d71a5b0372853c
parent929571756901c96a984bbb4e415478ac3deb1784 (diff)
downloaduhd-55d074fdd1fdada732b9e1b477d2f43948243ee1.tar.gz
uhd-55d074fdd1fdada732b9e1b477d2f43948243ee1.tar.bz2
uhd-55d074fdd1fdada732b9e1b477d2f43948243ee1.zip
uhd: changed stream args args to device_addr_t
-rw-r--r--host/include/uhd/stream.hpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/host/include/uhd/stream.hpp b/host/include/uhd/stream.hpp
index c86463184..1f0332088 100644
--- a/host/include/uhd/stream.hpp
+++ b/host/include/uhd/stream.hpp
@@ -20,6 +20,7 @@
#include <uhd/config.hpp>
#include <uhd/types/metadata.hpp>
+#include <uhd/types/device_addr.hpp>
#include <uhd/types/ref_vector.hpp>
#include <boost/utility.hpp>
#include <boost/shared_ptr.hpp>
@@ -71,11 +72,13 @@ struct UHD_API stream_args_t{
std::string otw_format;
/*!
- * The args parameter is currently unused. Leave it blank.
- * The intention is that a user with a custom DSP design
- * may want to pass args and do something special with it.
+ * The args parameter is used to pass arbitrary key/value pairs.
+ * Possible keys used by args (depends on implementation):
+ * - scaler: 8sc converter scaling factor
+ * - function: magnitude or phase/magnitude
+ * - units: numeric units like counts or dBm
*/
- std::string args;
+ device_addr_t args;
/*!
* The channels is a list of channel numbers.