Sorry about that, it appeared to work when tested but I just re-checked and can see that it isn’t actually working. That is going to take some time to look into since it seems to have something to do with the fact that the function is in a header and isn’t being invoked with the use of the header, and furthermore it works on my local system and doesn’t work on the systems of others, which makes it difficult to test effectively. I’ll set up a virtual environment to figure out what’s up there.
Another question, if I want to change some parameters in PocketsphinxRunConfig.h, can I simply do it in sampleapp project(modify PocketsphinxRunConfig.h and run the app) or I must recompile openears project to rebuild the framework.
Only one way to find out :) .