From 7ec72ecd5ebcb743a1fe4b9e31b6b8e169cef1cf Mon Sep 17 00:00:00 2001 From: Nonoo Date: Wed, 28 Oct 2020 16:39:21 +0100 Subject: [PATCH] Use buffer length recommended by the official app --- audiostream.go | 2 +- serialstream.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audiostream.go b/audiostream.go index aed874f..49100c6 100644 --- a/audiostream.go +++ b/audiostream.go @@ -8,7 +8,7 @@ import ( ) const audioTimeoutDuration = 3 * time.Second -const audioRxSeqBufLength = 100 * time.Millisecond +const audioRxSeqBufLength = 120 * time.Millisecond type audioStream struct { common streamCommon diff --git a/serialstream.go b/serialstream.go index f0b7f60..3e95bee 100644 --- a/serialstream.go +++ b/serialstream.go @@ -7,7 +7,7 @@ import ( ) const maxSerialFrameLength = 80 // Max. frame length according to Hamlib. -const serialRxSeqBufLength = 100 * time.Millisecond +const serialRxSeqBufLength = 120 * time.Millisecond type serialStream struct { common streamCommon