From e1af1894a5903a610bd387954c754d0e759ac46f Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 26 Sep 2016 18:10:51 +0100 Subject: [PATCH] Correct D-Star silence infilling. --- DStarControl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DStarControl.cpp b/DStarControl.cpp index aca1044..f4bdf6a 100644 --- a/DStarControl.cpp +++ b/DStarControl.cpp @@ -610,8 +610,8 @@ void CDStarControl::clock() if (frames > m_netFrames) { unsigned int count = frames - m_netFrames; - if (count > 5U) { - LogDebug("D-Star, lost audio for 200ms filling in, elapsed: %ums, expected: %u, received: %u", elapsed, frames, m_netFrames); + if (count > 15U) { + LogDebug("D-Star, lost audio for 300ms filling in, elapsed: %ums, expected: %u, received: %u", elapsed, frames, m_netFrames); insertSilence(count - 2U); } }