J9为JN-mini5728音频LINE_OUT接口(3段式3.5mm JACK接口),连接端子为下图所示的3.5mm插头。 1 设置LINE_OUT音量: root@am57xx-evm:~# amixer csetname="PCM Playback Volume" 100% root@am57xx-evm:~# amixer csetname="PCM Playback Volume" 50% root@am57xx-evm:~# amixer csetname="PCM Playback Volume" 0 2音频LINE_OUT测试: root@am57xx-evm:~# amixer csetname="PCM Playback Volume" 90% root@am57xx-evm:~# amixer csetname="Left DAC Mux" 1 root@am57xx-evm:~# amixer csetname="Right DAC Mux" 1 root@am57xx-evm:~# aplay /usr/share/sounds/alsa/Front_Center.wav 注意: 音频LINE_OUT对应的设备文件为/dev/snd/pcmC0D0p
音频LINE_IN/MIC_IN对应的设备文件为/dev/snd/pcmC0D0c
|