aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/utils/gain_group.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/host/include/uhd/utils/gain_group.hpp b/host/include/uhd/utils/gain_group.hpp
index f85e841dc..4a3a01a65 100644
--- a/host/include/uhd/utils/gain_group.hpp
+++ b/host/include/uhd/utils/gain_group.hpp
@@ -91,6 +91,13 @@ public:
* \return a gain group object.
*/
static sptr make(void);
+
+ /*!
+ * Make a new gain group with all zero values.
+ * \param name the name of the (only and zero-valued) gain element
+ * \return a gain group object populated with zeroes
+ */
+ static sptr make_zero();
};
} // namespace uhd