forked from Mirrors/freeswitch
dont freak on reinit if same args passed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8917 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
431c688963
commit
50d9e6dbd5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user