Raspbian 致命的“U错误”:;连续的.c“;,第246行:无法打开音频设备

Raspbian 致命的“U错误”:;连续的.c“;,第246行:无法打开音频设备,raspbian,alsa,pocketsphinx,Raspbian,Alsa,Pocketsphinx,我一直在为pocketsphinx寻找解决方案。我什么都试过了 apt获取移除脉冲音频-y 能力倾向 apt获取安装bison-y cd/usr/install tar-xvf狮身人面像-0.8.tar.gz cd sphinxbase-0.8 /配置 制作 安装 tar-xvf pocketsphinx-0.8.tar.gz cd pocketsphinx-0.8 /配置 制作 安装 没有文件/etc/modprob.d/alsa base.config,因此我更新了/usr/shared

我一直在为pocketsphinx寻找解决方案。我什么都试过了

apt获取移除脉冲音频-y
能力倾向
apt获取安装bison-y
cd/usr/install
tar-xvf狮身人面像-0.8.tar.gz
cd sphinxbase-0.8
/配置
制作
安装
tar-xvf pocketsphinx-0.8.tar.gz
cd pocketsphinx-0.8
/配置
制作
安装
没有文件
/etc/modprob.d/alsa base.config
,因此我更新了
/usr/shared/alsa/alsa.config
取消注释
加载特定于卡的配置文件(根据请求)
以及
/lib/modprob.d/aliases.conf
注释选项
snd usb音频索引=-2
我从各种资源中进行的每一次尝试。我可以录制
arecord-f cd-D plughw:1,0-d20 test.wav
并使用
aplay test.wav
我的声卡是

0[ALSA]:bcm2835-bcm2835 ALSA
bcm2835 ALSA
1[摄像头]:USB音频-USB2.0 PC摄像头
ARKMICRO USB2.0 PC摄像头,usb-3f980000。usb-1.2,高速
每一个支持的库都被下载了(不知道有多少),但它仍然不起作用。
我使用的是raspbian jessie图像。

不建议使用pocketsphinx-0.8,pocketsphinx-5prealpha更精确

录音用音频设备由
-adcdev
选项指定:

  pocketsphinx_continuous -inmic yes -adcdev plughw:1,0
您还可以将alsa配置为使用plughw:1,0作为默认记录设备,在这种情况下,您不需要
-adcdev