文档介绍:(1)raspberrypi音频设置
Pi 音频设置" title="Raspberry Pi 音频设置">安装声音服务
sudo apt-get install alsa-utils
加载驱动
sudo modprobe snd_bcm2835编译DEMO
cd /opt/vc/src/hello_pi/
./
cd
./
HDMI输出
./ 1=============================================================命令行播放器:
sudo apt-get install mplayer
GUI播放器:
sudo apt-get install smplayer
播放MP3
mplayer -ao alsa =============================================================调节音量
GUI模式
alsamixer
命令行模式
amixer
amixer sset PCM 80%amixer --help
Usage: amixer [command]
Available options:
-h,--help
this help
-c,--card N select the
card
-D,--device N select the device, default
'default'
-d,--debug
debug mode
-n,--nocheck do not
perform range checking
-v,--version print
version of this program
-q,--quiet
be quiet
-i,--inactive show also inactive
controls
-a,--abstract L select abstraction level (none or basic)
-s,--stdin
Read and execute commands from stdin
sequentially
Available commands:
scontrols
show all mixer simple controls
scont