summaryrefslogtreecommitdiffstats
path: root/src/OutputUHD.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-05-12 17:20:29 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-05-12 17:20:29 +0200
commitd57fe2c74f2c9e0a76f4b2c577942837dfac0866 (patch)
tree15d0a9d8dd8323df8eade26f222c8ca02db29ef2 /src/OutputUHD.cpp
parent5733a5c9a1a070ebd30ce55e181d5f0d8917de60 (diff)
downloaddabmod-d57fe2c74f2c9e0a76f4b2c577942837dfac0866.tar.gz
dabmod-d57fe2c74f2c9e0a76f4b2c577942837dfac0866.tar.bz2
dabmod-d57fe2c74f2c9e0a76f4b2c577942837dfac0866.zip
DPD: Set RX sample rate
Diffstat (limited to 'src/OutputUHD.cpp')
-rw-r--r--src/OutputUHD.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp
index 1a137d3..c2f985b 100644
--- a/src/OutputUHD.cpp
+++ b/src/OutputUHD.cpp
@@ -298,6 +298,9 @@ OutputUHD::OutputUHD(
SetDelayBuffer(myConf.dabMode);
+ myUsrp->set_rx_rate(myConf.sampleRate);
+ MDEBUG("OutputUHD:Actual RX Rate: %f sps...\n", myUsrp->get_rx_rate());
+
myUsrp->set_rx_antenna("RX2");
MDEBUG("OutputUHD:Set RX Antenna: %s ...\n", myUsrp->get_rx_antenna().c_str());