From 710293889356e85a09115228c388e50c45e00651 Mon Sep 17 00:00:00 2001 From: Nonoo Date: Sat, 21 Nov 2020 18:46:37 +0100 Subject: [PATCH] Reduce RX buffer sizes --- audiostream.go | 2 +- serialstream.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audiostream.go b/audiostream.go index 9b7991c..8c9ca42 100644 --- a/audiostream.go +++ b/audiostream.go @@ -9,7 +9,7 @@ import ( ) const audioTimeoutDuration = 5 * time.Second -const audioRxSeqBufLength = 300 * time.Millisecond +const audioRxSeqBufLength = 100 * time.Millisecond type audioStream struct { common streamCommon diff --git a/serialstream.go b/serialstream.go index 2d60033..5c896d4 100644 --- a/serialstream.go +++ b/serialstream.go @@ -7,7 +7,7 @@ import ( ) const maxSerialFrameLength = 80 // Max. frame length according to Hamlib. -const serialRxSeqBufLength = 300 * time.Millisecond +const serialRxSeqBufLength = 100 * time.Millisecond type serialStream struct { common streamCommon