From c11ff6bf20355c18800c9a433acddc40276d335b Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Mon, 14 May 2018 22:41:26 -0400 Subject: [PATCH] Increasing ring buffer lengths --- NXDNTX.cpp | 2 +- P25TX.cpp | 2 +- SerialRB.h | 2 +- YSFTX.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NXDNTX.cpp b/NXDNTX.cpp index 905c502..2601101 100644 --- a/NXDNTX.cpp +++ b/NXDNTX.cpp @@ -45,7 +45,7 @@ const uint8_t NXDN_PREAMBLE[] = {0x57U, 0x75U, 0xFDU}; const uint8_t NXDN_SYNC = 0x5FU; CNXDNTX::CNXDNTX() : -m_buffer(2000U), +m_buffer(4000U), m_modFilter(), m_sincFilter(), m_modState(), diff --git a/P25TX.cpp b/P25TX.cpp index 57a8db0..7cc75d9 100644 --- a/P25TX.cpp +++ b/P25TX.cpp @@ -43,7 +43,7 @@ const q15_t P25_LEVELD = -1260; const uint8_t P25_START_SYNC = 0x77U; CP25TX::CP25TX() : -m_buffer(1500U), +m_buffer(4000U), m_modFilter(), m_lpFilter(), m_modState(), diff --git a/SerialRB.h b/SerialRB.h index 7b6b7b9..4378cc9 100644 --- a/SerialRB.h +++ b/SerialRB.h @@ -32,7 +32,7 @@ Boston, MA 02110-1301, USA. #include #endif -const uint16_t SERIAL_RINGBUFFER_SIZE = 370U; +const uint16_t SERIAL_RINGBUFFER_SIZE = 2000U; class CSerialRB { public: diff --git a/YSFTX.cpp b/YSFTX.cpp index c0361c6..65ee21a 100644 --- a/YSFTX.cpp +++ b/YSFTX.cpp @@ -43,7 +43,7 @@ const uint8_t YSF_START_SYNC = 0x77U; const uint8_t YSF_END_SYNC = 0xFFU; CYSFTX::CYSFTX() : -m_buffer(1500U), +m_buffer(4000U), m_modFilter(), m_modState(), m_poBuffer(),