You are here

Rapsberry PI and PocketSphinx error fix

Lalymah seems to solve the issue of not getting audio into pocketsphinx: Error opening audio device plughw:1,0 for capture: Connection refused

Mixer load failed: Invalid argument FATAL_ERROR: "continuous.c", line 246: Failed to open audio device

To fix on the Raspberry PI, do the following: sudo apt-get remove pulseaudio -y sudo aptitude purge pulseaudio -y sudo mv /usr/include/pulse/pulseaudio.h /usr/include/pulse/pulseaudio.h.old

Recompile sphinxbase and pocketsphinx and you should be good to go

You could also try reading this one: