无法打开音频设备 (/dev/dsp)

问题描述

我正在使用 Pocketsphinx 来调整我训练过的声学模型。

为了在 Pocketsphinx 中使用模型,我运行了以下命令:

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"

但是,我收到此错误:

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

我试过这个solution.(安装pulseaudio、libpulse-dev、osspd)

我也试过export LD_PRELOAD=libpulsedsp.so

但我一直收到相同的错误消息。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)