Revert "Full integration of the jitter buffer into DMR."

This reverts commit e1800c0fe0.
This commit is contained in:
Jonathan Naylor
2017-11-28 10:09:29 +00:00
parent c1d0add875
commit 220cd0a0f9
8 changed files with 205 additions and 67 deletions

View File

@@ -172,14 +172,13 @@ bool CDMRNetwork::read(CDMRData& data)
if (wanted) {
unsigned char seqNo = m_buffer[4U];
m_jitterBuffers[slotNo]->addData(m_buffer, length, seqNo);
m_jitterBuffers[slotNo]->addData(m_buffer, seqNo);
}
}
}
for (unsigned int slotNo = 1U; slotNo <= 2U; slotNo++) {
unsigned int length = 0U;
JB_STATUS status = m_jitterBuffers[slotNo]->getData(m_buffer, length);
JB_STATUS status = m_jitterBuffers[slotNo]->getData(m_buffer);
if (status != JBS_NO_DATA) {
unsigned char seqNo = m_buffer[4U];