Skip to content

Commit

Permalink
Disable the jitter buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Jan 31, 2018
1 parent b694f85 commit 63a2ea3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DMRNetwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,9 @@ void CDMRNetwork::receiveData(const unsigned char* data, unsigned int length)
if (slotNo == 2U && !m_slot2)
return;

m_jitterBuffers[slotNo]->appendData(data, length);

/*
unsigned char dataType = data[15U] & 0x3FU;
if (dataType == (0x20U | DT_CSBK) ||
dataType == (0x20U | DT_DATA_HEADER) ||
Expand All @@ -511,6 +514,7 @@ void CDMRNetwork::receiveData(const unsigned char* data, unsigned int length)
unsigned char seqNo = data[4U];
m_jitterBuffers[slotNo]->addData(data, length, seqNo);
}
*/
}

bool CDMRNetwork::writeLogin()
Expand Down

0 comments on commit 63a2ea3

Please sign in to comment.