LMS_Device: Set ts_offset to 0.
I'm not quite sure what the ts_offset is for, but by using "0" we are now receiving exactly the timestamp that we're expecting: LMSDevice.cpp:486 [tid=140576250332928] chan 0 recv buffer of len 2500 expect 305ed0 got 305ed0 (305ed0) diff=0 Change-Id: I270c94945b1af9662cfc468cfda1ae3af3ac0a27
This commit is contained in:
parent
68f054169b
commit
4aec1f1cf5
|
@ -131,7 +131,8 @@ int LMSDevice::open(const std::string &args, int ref, bool swap_channels)
|
|||
goto out_close;
|
||||
LOG(DEBUG) << "Sample Rate: Host=" << sr_host << " RF=" << sr_rf;
|
||||
/* FIXME: make this device/model dependent, like UHDDevice:dev_param_map! */
|
||||
ts_offset = static_cast<TIMESTAMP>(8.9e-5 * GSMRATE);
|
||||
//ts_offset = static_cast<TIMESTAMP>(8.9e-5 * GSMRATE);
|
||||
ts_offset = 0;
|
||||
|
||||
switch (ref) {
|
||||
case REF_INTERNAL:
|
||||
|
|
Loading…
Reference in New Issue