EasyManua.ls Logo

ORANGE Pi 3B - Use the Command to Test the Recording Method

ORANGE Pi 3B
366 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
range Pi User Manual Copyright reserved by Shenzhen Xunlong Software Co., Ltd
178
Subdevice #0: subdevice #0
Subdevice #0: subdevice #0
3) Then use the aplay command to play the audio file that comes with the system. If the
headset can hear the sound, it means that the hardware can be used normally
orangepi@orangepi:~$ aplay -D hw:0,0 /usr/share/sounds/alsa/audio.wav
Playing WAVE 'audio.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
3.12.2.2. HDMI Audio Play Test
1) First use the HDMI to HDMI cable to connect the Orange PI development board to
the TV (other HDMI displays need to ensure that the audio can be played)
2) Then check the sound card serial number of HDMI. From the output below, you can
know that the HDMI sound card is card 1
orangepi@orangepi:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchiprk809 [rockchip-rk809], device 0: dailink-multicodecs rk817-hifi-0
[dailink-multicodecs rk817-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: rockchiphdmi [rockchip,hdmi], device 0: fe400000.i2s-i2s-hifi i2s-hifi-0
[fe400000.i2s-i2s-hifi i2s-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0
Subdevice #0: subdevice #0
3) Then use the aplay command to play the audio file that comes with the system. If the
HDMI display or television can hear the sound indicates that the hardware can be used
normally
orangepi@orangepi:~$ aplay -D hw:1,0 /usr/share/sounds/alsa/audio.wav
3.12.3. Use the command to test the recording method
1) Orange Pi 3B development board does not have MICs, and can only record audio
through headphones with MIC function. After inserting the headset with the MIC
function into the development board, the command below will record a piece of audio

Table of Contents