summaryrefslogtreecommitdiff
path: root/audio/sphinx/files/patch-src_examples_tty-continuous.c
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-10-24 04:31:58 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-10-24 04:31:58 +0000
commit13aa24cbbacf1ad37d91b82417b6c27e4ef6acd1 (patch)
tree0e8cc2a41e2c44c4a1d9339ad807bb5cfe94eca5 /audio/sphinx/files/patch-src_examples_tty-continuous.c
parentAdd p5-Search-InvertedIndex 1.13, a manager for inverted index maps. (diff)
Incorporate patches against the "Audio read error" problem.
PR: 58227 Submitted by: Andriy Gapon of Cybervision Also chase soundcard.h.
Diffstat (limited to 'audio/sphinx/files/patch-src_examples_tty-continuous.c')
-rw-r--r--audio/sphinx/files/patch-src_examples_tty-continuous.c14
1 files changed, 14 insertions, 0 deletions
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);