Just as a few guesses:
Nothing changed in pocketsphynx's support of ALSA because, after installing the ALSA headers, you compiled pocketsphynx with
./configure
and did not specify--prefix=/usr
as a command line option toconfigure
, so it installed it into/usr/local
path./usr/bin
version of pocketsphynx is being launched instead, so your installed version isn't being picked up.Pocketsphynx's build system has a flag you have to specify in order to enable ALSA support explicitly, and you didn't set that flag? Try
./configure --help
to see if you have to specify--enable-alsa
or something.If you still can't get ALSA support working, try configuring your system for OSS Proxy support. You can start with the "How to Test" instructions at here but skip steps 3 through 6. Also, you will need to separately compile
osspd
from source. The new home of osspd is on SourceForge. The purpose ofosspd
is to emulate a real OSS device in userspace using Character Device In Userspace (CUSE) kernel module, and forward the audio through the kernel to PulseAudio. It's more compatible with programs because certain things like non-blocking I/O and MMAP can be emulated with osspd that can't be emulated with a libc preload hack likepadsp
oraoss
.