Hello, I have created an application with Pocketphinx, which works perfectly on Windows, then I move to Linux and build libraries and binary, no errors, Linux libraries dependencies are fine (ldd shows no errors), application is up and running , Pocketphinx init is fine, etcetera etcetera,
but "Mic" not found / recognized.
The linux is an "Ubuntu" on a virtual machine with pulse audio, binary compilation on github with installation of pulse audio prior to compilation.
I try "ad_open_dev" with "-adcdev" and "sysdefault", both work fine on Windows, but not Ubuntu.
The microphone is fine, using Ubuntu settings I can test the microphone and it is working.
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I try the continuous code out of my app, and what I get is:
ERROR: cmd_ln.c, line 942: Unknow argument: -adcdev (same with "sysdefault")
ad_oss.c(115): Failed to open audio device (/dev/dsp): Input/Output error
Fail to open audio device
I can find /dev/dsp on the SO and I install osspd, but same error.
I notice that there is an "ad_pulse.c" in the libsphinxad lib, how do I need to set up the device call to pocketsphinx use that pulse function instead of oss?
Is that the problem?
Or It could be because /dev/dsp is locked by something else?
thanks
Last edit: Diego Rapal 2021-06-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I have created an application with Pocketphinx, which works perfectly on Windows, then I move to Linux and build libraries and binary, no errors, Linux libraries dependencies are fine (ldd shows no errors), application is up and running , Pocketphinx init is fine, etcetera etcetera,
but "Mic" not found / recognized.
The linux is an "Ubuntu" on a virtual machine with pulse audio, binary compilation on github with installation of pulse audio prior to compilation.
I try "ad_open_dev" with "-adcdev" and "sysdefault", both work fine on Windows, but not Ubuntu.
The microphone is fine, using Ubuntu settings I can test the microphone and it is working.
Any ideas?
I try the continuous code out of my app, and what I get is:
ERROR: cmd_ln.c, line 942: Unknow argument: -adcdev (same with "sysdefault")
ad_oss.c(115): Failed to open audio device (/dev/dsp): Input/Output error
Fail to open audio device
I can find /dev/dsp on the SO and I install osspd, but same error.
I notice that there is an "ad_pulse.c" in the libsphinxad lib, how do I need to set up the device call to pocketsphinx use that pulse function instead of oss?
Is that the problem?
Or It could be because /dev/dsp is locked by something else?
thanks
Last edit: Diego Rapal 2021-06-26
Last edit: Diego Rapal 2021-06-26