diff options
Diffstat (limited to 'OutputUHD.hpp')
-rw-r--r-- | OutputUHD.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OutputUHD.hpp b/OutputUHD.hpp index ad95e99..a6dc043 100644 --- a/OutputUHD.hpp +++ b/OutputUHD.hpp @@ -31,9 +31,10 @@ typedef std::complex<float> complexf; class OutputUHD { public: - OutputUHD(double txgain); + OutputUHD(double txgain, 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); private: double m_samplerate; @@ -41,6 +42,8 @@ class OutputUHD { uhd::usrp::multi_usrp::sptr m_usrp; uhd::tx_metadata_t md; uhd::tx_streamer::sptr myTxStream; + + uhd::rx_streamer::sptr myRxStream; }; #endif // __OUTPUT_UHD_H_ |