OK, it seems the issue has been resolved while I was configuring the pocketsphinx. You can now close this thread.
I got reasonable behaviour from the sample app, then copy pasting its configuration to my app solved the problem.
It might be that at the time I opened this thread, there was quite an environmental noise and vadThreshold probably couldn’t make up for it. Now, everything seems fine and functional. Thank you.