香蕉派BPI-M2 Zero音频输出教程

Raspbian预配置音频输出镜像下载地址

链接:https://pan.baidu.com/s/1UnzxK58u_wj7xVKc2FKaqg   提取码:73p9


Ubuntu预配置音频输出镜像下载地址

链接:https://pan.baidu.com/s/1ZA4r5-NAvU5KeEpc_ec_fQ    提取码:p0fq


系统2020-04-28-ubuntu-16.04-mate-desktop-bpi-m2z-sd-emmc  (账号pi   密码 bananapi)

sudo nano /etc/asound.conf

输入如下

pcm.!default {

type hw

card 1    //If you want to set HDMI as output ,turn 0 to 1.

device 0

}

ctl.!default {

type hw

card 1   //If you want to set HDMI as output ,turn 0 to 1.

}


保存重启


右键点击喇叭调出上图选项.左键点击上图选项


弹出设置栏按照上图选择HDMI位置 之后.电机 close 关闭


鼠标放喇叭图标位置 显示 音频信息已经切换到HDMI


系统2020-04-28-raspbian-stretch-bpi-m2z-sd-emmc  (账号pi   密码 bananapi)

开启ssh远程

sudo service ssh start


sudo nano /etc/asound.conf

输入如下

pcm.!default {

type hw

card 1    //If you want to set HDMI as output ,turn 0 to 1.

device 0

}

ctl.!default {

type hw

card 1   //If you want to set HDMI as output ,turn 0 to 1.

}


保存重启


sudo apt-get install pavucontrol  --fix-missing -y


音乐播放器安装

sudo apt-get install qmmp -y  --fix-missing