From babf61f03f08975a0fd6657e5024f1525defe50d Mon Sep 17 00:00:00 2001 From: wb2osz Date: Thu, 24 Apr 2025 13:33:53 -0400 Subject: [PATCH] Issue 544: Longer audio input timeout value. --- src/audio_win.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/audio_win.c b/src/audio_win.c index a133648..21c09ce 100644 --- a/src/audio_win.c +++ b/src/audio_win.c @@ -1,4 +1,4 @@ - +// FIXME: Add longer input timeout and more retries // // This file is part of Dire Wolf, an amateur radio packet TNC. // @@ -792,7 +792,8 @@ int audio_get (int a) * Wait if nothing available. * Could use an event to wake up but this is adequate. */ - int timeout = 25; + // Issue 544: change from 25 to 200. That's 2 seconds total with current buff time. + int timeout = 200; while (A->in_headp == NULL) { //SLEEP_MS (ONE_BUF_TIME / 5);