Skip to content

Commit babf61f

Browse files
committedApr 24, 2025
Issue 544: Longer audio input timeout value.
1 parent ea93fcd commit babf61f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/audio_win.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
// FIXME: Add longer input timeout and more retries
22
//
33
// This file is part of Dire Wolf, an amateur radio packet TNC.
44
//
@@ -792,7 +792,8 @@ int audio_get (int a)
792792
* Wait if nothing available.
793793
* Could use an event to wake up but this is adequate.
794794
*/
795-
int timeout = 25;
795+
// Issue 544: change from 25 to 200. That's 2 seconds total with current buff time.
796+
int timeout = 200;
796797

797798
while (A->in_headp == NULL) {
798799
//SLEEP_MS (ONE_BUF_TIME / 5);

0 commit comments

Comments
 (0)
Please sign in to comment.