From 04b2955e128372d7bee3ca11cce79b75549c0dc2 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 9 Aug 2016 07:35:31 +0100 Subject: [PATCH] Increase the lost packet timeout to 400ms. --- DMRSlot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DMRSlot.cpp b/DMRSlot.cpp index 017d8f7..398faad 100644 --- a/DMRSlot.cpp +++ b/DMRSlot.cpp @@ -73,7 +73,7 @@ m_netN(0U), m_networkWatchdog(1000U, 0U, 1500U), m_rfTimeoutTimer(1000U, timeout), m_netTimeoutTimer(1000U, timeout), -m_packetTimer(1000U, 0U, 300U), +m_packetTimer(1000U, 0U, 400U), m_interval(), m_elapsed(), m_rfFrames(0U), @@ -1248,7 +1248,7 @@ void CDMRSlot::clock() if (frames > m_netFrames) { unsigned int count = frames - m_netFrames; if (count > 3U) { - LogDebug("DMR Slot %u, lost audio for 300ms filling in, elapsed: %ums, expected: %u, received: %u", m_slotNo, elapsed, frames, m_netFrames); + LogDebug("DMR Slot %u, lost audio for 400ms filling in, elapsed: %ums, expected: %u, received: %u", m_slotNo, elapsed, frames, m_netFrames); insertSilence(count - 1U); } }