英特尔爱迪生的播放错误

时间:2016-05-06 18:32:36

标签: alsa intel-edison

我正在使用以下命令在英特尔爱迪生上测试声音。

root@12345:/# aplay /usr/share/sounds/alsa/Front_Right.wav

但我收到此错误消息。

ALSA lib /data/jenkins_worker/workspace/edison-weekly/out/linux64/build/tmp/work/core2-32-poky-linux/alsa-lib/1.0.28-r0/alsa-lib-1.0.28/src/conf.c:1697:(snd_config_load1) _toplevel_:1:29:Unexpected char
ALSA lib /data/jenkins_worker/workspace/edison-weekly/out/linux64/build/tmp/work/core2-32-poky-linux/alsa-lib/1.0.28-r0/alsa-lib-1.0.28/src/conf.c:3417:(config_file_open) /home/root/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib /data/jenkins_worker/workspace/edison-weekly/out/linux64/build/tmp/work/core2-32-poky-linux/alsa-lib/1.0.28-r0/alsa-lib-1.0.28/src/conf.c:3339:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib /data/jenkins_worker/workspace/edison-weekly/out/linux64/build/tmp/work/core2-32-poky-linux/alsa-lib/1.0.28-r0/alsa-lib-1.0.28/src/conf.c:3788:(snd_config_update_r) hooks failed, removing configuration
aplay: main:730: audio open error: Invalid argument

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

您可以尝试使用

指定设备
# aplay -D hw:1,0 /usr/share/sounds/alsa/Front_Center.wav

您也可以参考official Audio Setup guide