用过2种方法:
第一种,tinyalsa,参考:https://blog.csdn.net/qq_28877125/article/details/117395026
出现:
tinypcminfo
Info for card 0, device 0:
PCM out:
cannot open device '/dev/snd/pcmC0D0p'
Device does not exist.
PCM in:
cannot open device '/dev/snd/pcmC0D0c'
Device does not exist.
第二种方法
alsa-lib库,参考https://www.cnblogs.com/liyue3/p/14343916.html
程序出现
/usr/lib/libasound.so.2: no version information available (required)
应该设备是初始化的时候失败导致,
segment fault
# aplay -l
aplay: device_list:270: no soundcards found...
# arecord -l
arecord: device_list:270: no soundcards found...
需要怎么配置呢?
最近编辑记录 happy (2022-11-08 19:15:04)
离线