mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-03-01 10:54:18 +01:00
Insert silence instead of repeating the last good frame.
This commit is contained in:
parent
0c4729b416
commit
69ce8d11b9
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue