In recent versions Ubuntu broke compability with OSS layer. You either need to
recompile sphinxbase to support alsa (you need to have libasound2-dev
installed) or need to insert kernel module for OSS support (modprobe
snd_pcm_oss).
You can get more information on this problem in Ubuntu support and in Google
I just installed Ubuntu 10.10 and PocketSphinx. Trying to run
pocketsphinx_continuous, I get an error message like this ...
ad_oss.c(103): Failed to open audio device(/dev/dsp): No such file or
directory
Looking in /dev, I find that /dev/dsp isn't there.
Sound seems to work otherwise (I can record and play back with the
Soundrecorder accessory).
In recent versions Ubuntu broke compability with OSS layer. You either need to
recompile sphinxbase to support alsa (you need to have libasound2-dev
installed) or need to insert kernel module for OSS support (modprobe
snd_pcm_oss).
You can get more information on this problem in Ubuntu support and in Google
http://lmgtfy.com/?q=Ubuntu+Failed+to+open+audio+device(%2Fdev%2Fdsp)%3A
Thanks for the reply! When I do
modprobe snd_pcm_oss
I get
FATAL: Module snd_pcm_oss not found.
Do I need to install OSS?
Hi, I installed libasound2-dev and recompiled sphinxbase... now it works!
Thanks a lot for the help.