[Freeswitch-svn] [commit] r8917 - freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx

Freeswitch SVN brian at freeswitch.org
Tue Jul 8 00:07:46 EDT 2008


Author: brian
Date: Tue Jul  8 00:07:46 2008
New Revision: 8917

Modified:
   freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c

Log:
dont freak on reinit if same args passed

Modified: freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c	Tue Jul  8 00:07:46 2008
@@ -116,7 +116,7 @@
 
 	switch_assert(lm && dic && model);
 	
-	ps->config = cmd_ln_init(ps->config, ps_args(), TRUE,
+	ps->config = cmd_ln_init(ps->config, ps_args(), FALSE,
 							 "-samprate", "8000",
 							 "-hmm", model,
 							 "-lm", lm, 



More information about the Freeswitch-svn mailing list