Linux 声卡调试

Setting the default device

Find your desired card with:

cat /proc/asound/cards

and then create /etc/asound.conf with following:

pcm.!default {
    type hw
    card 1
}

ctl.!default {
    type hw           
    card 1
}

Replace “1” with number of your card determined above.

你可能感兴趣的:(嵌入式移植专栏,linux)