From 13aa24cbbacf1ad37d91b82417b6c27e4ef6acd1 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Fri, 24 Oct 2003 04:31:58 +0000 Subject: Incorporate patches against the "Audio read error" problem. PR: 58227 Submitted by: Andriy Gapon of Cybervision Also chase soundcard.h. --- audio/sphinx/files/patch-src_examples_tty-continuous.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 audio/sphinx/files/patch-src_examples_tty-continuous.c (limited to 'audio/sphinx/files/patch-src_examples_tty-continuous.c') diff --git a/audio/sphinx/files/patch-src_examples_tty-continuous.c b/audio/sphinx/files/patch-src_examples_tty-continuous.c new file mode 100644 index 000000000000..3b6f0564485f --- /dev/null +++ b/audio/sphinx/files/patch-src_examples_tty-continuous.c @@ -0,0 +1,14 @@ +$FreeBSD$ + +author: Andriy Gapon + +--- src/examples/tty-continuous.c.orig Thu Dec 13 21:11:15 2001 ++++ src/examples/tty-continuous.c Mon Oct 20 12:12:58 2003 +@@ -175,7 +175,6 @@ static void utterance_loop() + * listening until current utterance completely decoded + */ + ad_stop_rec (ad); +- while (ad_read (ad, adbuf, 4096) >= 0); + cont_ad_reset (cont); + + printf ("Stopped listening, please wait...\n"); fflush (stdout); -- cgit v1.2.3