有没有办法使用asoundlib和C以编程方式获取系统上的可用声卡列表?我希望它具有相同的信息/proc/asound/cards.
/proc/asound/cards
c linux alsa
alsa ×1
c ×1
linux ×1