summaryrefslogtreecommitdiffstats
path: root/audio/sphinx/files/patch-src_examples_tty-continuous.c
diff options
context:
space:
mode:
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 0000000..3b6f056
--- /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);
OpenPOWER on IntegriCloud