LeMaker Guitar:音频

From BananaPro/Pi
Revision as of 15:10, 13 June 2016 by Super (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Other languages:
English • ‎中文(简体)‎

LeMaker Guitar 默认通过底板上的标准3.5mm耳机座输出音频,可以接耳机或音箱播放音乐。也可以通过HDMI输出音频,但是要先安装 pulseaudio工具并编辑 /etc/pulse/default.pa文件(Lemuntu系统),参考下面内容进行配置:

第1步: 安装pulseaudio

sudo apt-get install pulseaudio

第2步: 选择HDMI输出

sudo apt-get install pulseaudio
sudo nano /etc/pulse/default.pa
...
### use module-udev-detect -- see below -- for doing this automatically
#load-module module-alsa-sink device=hw:0,0     # 3.5mm接口输出
load-module module-alsa-sink device=hw:0,1      # HDMI输出
...

第3步: 重新启动系统

sudo reboot