aplay, arecord, amixer 用法
1. aplay 就是撥音樂的 aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DVR [TI81XX DVR], device 0: SSM2602-PCM ssm2602-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: DVR [TI81XX DVR], device 1: hdmi HDMI-DAI-CODEC-1 [] Subdevices: 1/1 Subdevice #0: subdevice #0 aplay -D plughw:0,0 1.wav -v plughw: card number, device number 2. arecord 就是錄音的 arecord -l **** List of CAPTURE Hardware Devices **** card 0: DVR [TI81XX DVR], device 0: SSM2602-PCM ssm2602-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 arecord -D plughw:0,1 test.wav -v plughw: card number, device number 可利用下面直接播出 arecord -Dhw:0,0 -r32000 -f cd|aplay -Dhw:0,0 -r32000 3. amixer 調整音量和參數用的 amixer -h 可以看到比較詳細的介紹 amixer controls numid=2,iface=MIXER,name='Master Playback ZC Switch' numid=1,iface=MIXER,name='Master Playback Volume' numid=5,iface=MIXER,name='Mic Boost (+20dB)' numid=6,iface=MIXER,n...