Fix minimum latency bound form 1 frame to 3 frames. Probably only affects 1% of USB connections. We can tolerate 3 GSM frames latency.

This commit is contained in:
Harvind Samra
2015-07-27 12:37:10 -07:00
committed by Michael Iedema
parent 0490bbaef4
commit c77b3ca30d

View File

@@ -833,7 +833,7 @@ void Transceiver::driveTransmitFIFO()
else {
// if underrun hasn't occurred in the last sec (216 frames) drop
// transmit latency by a timeslot
if (mTransmitLatency > GSM::Time(1,1)) {
if (mTransmitLatency > GSM::Time(3,0)) {
if (radioClock->get() > mLatencyUpdateTime + GSM::Time(216,0)) {
mTransmitLatency.decTN();
LOG(INFO) << "reduced latency: " << mTransmitLatency;