Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 3B

119 bytes added, 13:39, 11 August 2023
Headphone interface play audio test
# First insert the headset into the headphone jack of the development board
::[[File:pi3b-img253.png]]
<ol start="2" style="list-style-type: decimal;">
<li>Then you can check the sound card device supported by the Linux system through the '''aplay -l''' command. From the output below, it can be seen that '''card 0''' is the sound card device with RK809, which is the sound card device of the headset</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
orangepi@orangepi:~$ '''aplay -l'''
<p>**** List of PLAYBACK Hardware Devices ****</p>
'''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
:Subdevice #0: subdevice #0
|}
</ol>
<ol start="3" style="list-style-type: decimal;">
<li>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</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
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
|}
</ol>
<span id="hdmi-audio-play-test"></span>
<span id="hdmi-audio-play-test"></span>
==== HDMI Audio Play Test ====