Insert silence instead of repeating the last good frame.

This commit is contained in:
Jonathan Naylor 2017-11-28 21:41:01 +00:00
parent 0c4729b416
commit 69ce8d11b9

View file

@ -1917,6 +1917,8 @@ void CDMRSlot::closeFile()
void CDMRSlot::repeatFrame(unsigned char* data)
{
::memcpy(data, DMR_SILENCE_DATA + 2U, DMR_FRAME_LENGTH_BYTES);
if (m_netN == 0U) {
CSync::addDMRAudioSync(data, m_duplex);
} else {