首页 > 学院 > 开发设计 > 正文

树莓派设置默认声卡

2019-11-08 01:20:32
字体:
来源:转载
供稿:网友

在树莓派上,设置声卡为默认声音设备:

目前Raspbian V8.0 的声卡图形设置页面有bug,设置不了默认设备。只能在配置文件中修改。

Step1.

>>>sudo nano ~/.asoundrc

 

Filecontents:

Pcm.!default{

 

        type hw

        card 1

}

 

Ctl.!default{

 

        type hw

       card 1

}

 

Step2.

>>>sudo nano /usr/share/alsa/alsa.conf

 

Filecontents:

 #

 

Defaults.ctl.card1

 

Defaults.pcm.card1

 


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表