How do I turn off E_INFO in pocketsphinx?

前端 未结 4 890
野的像风
野的像风 2021-02-14 02:12

E_INFO is printing a bunch of logs. I don\'t know how I can turn that off. I searched E_INFO from all source files in pocket/base sphinx but I was not able to find where it set

4条回答
  •  醉梦人生
    2021-02-14 02:55

    If you are using the API, this is what I did:

    // turn off pocketsphinx output
    err_set_logfp(NULL);
    err_set_debug_level(0);
    

    The API given by the accepted answer didn't work for me.

提交回复
热议问题