From 69e69ab50b9d554e0489cd0e9b4c96e2919b117d Mon Sep 17 00:00:00 2001 From: ismagom Date: Tue, 3 Nov 2015 17:55:51 +0000 Subject: [PATCH] Restored uhd buffer sizes optimized for reduced sampling rates --- srslte/lib/cuhd/src/cuhd_imp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srslte/lib/cuhd/src/cuhd_imp.cpp b/srslte/lib/cuhd/src/cuhd_imp.cpp index fc6a8ddff..ece033074 100644 --- a/srslte/lib/cuhd/src/cuhd_imp.cpp +++ b/srslte/lib/cuhd/src/cuhd_imp.cpp @@ -222,8 +222,8 @@ int cuhd_open_(char *args, void **h, bool create_thread_gain, bool tx_gain_same_ uhd::set_thread_priority_safe(); cuhd_handler *handler = new cuhd_handler(); // Buffer sizes optimized for reduced clock rates (see common/phy_common.c) - std::string _args = std::string(args + ", recv_frame_size=9232,num_recv_frames=64,send_frame_size=9232,num_send_frames=64"); - handler->usrp = uhd::usrp::multi_usrp::make(_args); + std::string _args = std::string(args); + handler->usrp = uhd::usrp::multi_usrp::make(_args + ", recv_frame_size=9232,num_recv_frames=64,send_frame_size=9232,num_send_frames=64"); handler->usrp->set_clock_source("internal"); std::string otw, cpu;