树莓派4,坑:
pi@raspberrypi:~ $ aplay -D bluealsa:HCI=hci0,DEV=D4:4B:B6:7F:93:B3,PROFILE=A2DP test.wav
ALSA lib conf.c:4898:(parse_args) Unknown parameter HCI
ALSA lib conf.c:5031:(snd_config_expand) Parse arguments error: 没有那个文件或目录
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM bluealsa:HCI=hci0,DEV=D4:4B:B6:7F:93:B3,PROFILE=A2DP
aplay: main:828: audio open error: 没有那个文件或目录
正确的格式是:
aplay -D bluealsa:DEV=D4:4B:B6:7F:93:B3,PROFILE=a2dp test.wav
估计是新版bluealsa 要求的不一样,
参考官方:
https://github.com/Arkq/BlueZ-alsa
|