Restored uhd buffer sizes optimized for reduced sampling rates

This commit is contained in:
ismagom 2015-11-03 17:54:54 +00:00
parent a2d7edb285
commit adda7621ef
1 changed files with 2 additions and 1 deletions

View File

@ -221,7 +221,8 @@ int cuhd_open_(char *args, void **h, bool create_thread_gain, bool tx_gain_same_
{ {
uhd::set_thread_priority_safe(); uhd::set_thread_priority_safe();
cuhd_handler *handler = new cuhd_handler(); cuhd_handler *handler = new cuhd_handler();
std::string _args = std::string(args); // 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); handler->usrp = uhd::usrp::multi_usrp::make(_args);
handler->usrp->set_clock_source("internal"); handler->usrp->set_clock_source("internal");