mirror of https://github.com/PentHertz/srsLTE.git
Restored uhd buffer sizes optimized for reduced sampling rates
This commit is contained in:
parent
a2d7edb285
commit
adda7621ef
|
@ -221,7 +221,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();
|
||||
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->set_clock_source("internal");
|
||||
|
||||
|
|
Loading…
Reference in New Issue