summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_multi_usrp_source.h
diff options
context:
space:
mode:
authorJosh Blum2011-01-12 14:24:13 -0800
committerJosh Blum2011-01-19 22:24:57 -0800
commitb5556476aee35c5a77d1e255eb54d60028d8490e (patch)
tree56fa88a10366d3d15013886a6f1012bc5ebe92e8 /gr-uhd/lib/uhd_multi_usrp_source.h
parent69ae2c9b1eca4c69d9007b146aa54fd1b75fcd28 (diff)
downloadgnuradio-b5556476aee35c5a77d1e255eb54d60028d8490e.tar.gz
gnuradio-b5556476aee35c5a77d1e255eb54d60028d8490e.tar.bz2
gnuradio-b5556476aee35c5a77d1e255eb54d60028d8490e.zip
uhd: replace gain floats with doubles to reflect new uhd api
Diffstat (limited to 'gr-uhd/lib/uhd_multi_usrp_source.h')
-rw-r--r--gr-uhd/lib/uhd_multi_usrp_source.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/lib/uhd_multi_usrp_source.h b/gr-uhd/lib/uhd_multi_usrp_source.h
index ff77d9d9e..9cbec52aa 100644
--- a/gr-uhd/lib/uhd_multi_usrp_source.h
+++ b/gr-uhd/lib/uhd_multi_usrp_source.h
@@ -97,14 +97,14 @@ public:
* \param gain the gain in dB
* \param chan the channel index 0 to N-1
*/
- virtual void set_gain(float gain, size_t chan) = 0;
+ virtual void set_gain(double gain, size_t chan) = 0;
/*!
* Get the actual dboard gain setting.
* \param chan the channel index 0 to N-1
* \return the actual gain in dB
*/
- virtual float get_gain(size_t chan) = 0;
+ virtual double get_gain(size_t chan) = 0;
/*!
* Get the settable gain range.