aboutsummaryrefslogtreecommitdiffstats
path: root/OutputUHD.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'OutputUHD.hpp')
-rw-r--r--OutputUHD.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/OutputUHD.hpp b/OutputUHD.hpp
index a6dc043..6dc20dd 100644
--- a/OutputUHD.hpp
+++ b/OutputUHD.hpp
@@ -31,7 +31,7 @@ typedef std::complex<float> complexf;
class OutputUHD {
public:
- OutputUHD(double txgain, double samplerate);
+ OutputUHD(double txgain, double rxgain, double samplerate);
size_t Transmit(const complexf *samples, size_t sizeIn, double *first_sample_time);
size_t Receive(complexf *samples, size_t sizeIn, double *first_sample_time);
@@ -39,6 +39,7 @@ class OutputUHD {
private:
double m_samplerate;
double m_txgain;
+ double m_rxgain;
uhd::usrp::multi_usrp::sptr m_usrp;
uhd::tx_metadata_t md;
uhd::tx_streamer::sptr myTxStream;