From 55d074fdd1fdada732b9e1b477d2f43948243ee1 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 13 Oct 2011 13:32:54 -0700 Subject: uhd: changed stream args args to device_addr_t --- host/include/uhd/stream.hpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'host/include') 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 #include +#include #include #include #include @@ -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. -- cgit v1.2.3