From d4a0885a9857e1ceefb11bf4a0a39b3e1e06a8d2 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Sun, 3 Dec 2017 21:52:29 +0000 Subject: [PATCH] Increase the jitter buffer size and the default jitter buffer delay. --- JitterBuffer.cpp | 2 +- MMDVM.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/JitterBuffer.cpp b/JitterBuffer.cpp index 3614792..76c2218 100644 --- a/JitterBuffer.cpp +++ b/JitterBuffer.cpp @@ -43,7 +43,7 @@ m_lastDataLength(0U) assert(jitterTime > 0U); assert(topSequenceNumber > 0U); - m_blockCount = (jitterTime / blockTime) * 2U + 1U; + m_blockCount = topSequenceNumber / 2U; m_buffer = new JitterEntry[m_blockCount]; diff --git a/MMDVM.ini b/MMDVM.ini index c7c0abd..b26da09 100644 --- a/MMDVM.ini +++ b/MMDVM.ini @@ -116,7 +116,7 @@ Debug=0 Enable=1 Address=44.131.4.1 Port=62031 -Jitter=300 +Jitter=500 # Local=62032 Password=PASSWORD # Options=