summaryrefslogtreecommitdiffstats
path: root/audio/sphinx/files/patch-src_examples_tty-continuous.c
blob: 3b6f0564485f335b73f0ef2c1f4073cd4c119250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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