From 50d9e6dbd5864eaccf7caaa536c846d42147a43c Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 8 Jul 2008 04:07:46 +0000 Subject: [PATCH] dont freak on reinit if same args passed git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8917 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c b/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c index 642dc1e3a0..2f52443199 100644 --- a/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c +++ b/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c @@ -116,7 +116,7 @@ static switch_status_t pocketsphinx_asr_load_grammar(switch_asr_handle_t *ah, co 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,