Failing to open audio device (/dev/dsp)

1k views Asked by At

I am using pocketsphinx to adapt my acoustic model which i have trained.

So to use the model in pocketsphinx, i ran the following command:

pocketsphinx_continuous -inmic yes -lm "/home/ridwan/sphinx/other/output/other.lm.DMP" -dict "/home/ridwan/sphinx/other/output/other.dic" -hmm "/home/ridwan/sphinx/other/output/other.ci_cont"

But however, I am getting this error:

ad_oss.c(115): Failed to open audio device(/dev/dsp): Input/output error
FATAL: "continuous.c", line 245: Failed to open audio device

I tried this solution. (installing pulseaudio, libpulse-dev, osspd)

I also tried export LD_PRELOAD=libpulsedsp.so

But I keep getting the same error message.

0

There are 0 answers