Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 3B

153 bytes added, 13:41, 11 August 2023
HDMI Audio Play Test
# Then check the sound card serial number of HDMI. From the output below, you can know that the HDMI sound card is '''card 1'''
::{| 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'''|}
<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 HDMI display or television can hear the sound indicates that the hardware can be used normally</li>{| class="wikitable" style="width:800px;" |-| orangepi@orangepi:~$ '''aplay -D hw:<span style="color:#FF0000">1</span>,0 /usr/share/sounds/alsa/audio.wav'''|}</ol><span id="use-the-command-to-test-the-recording-method"></span>
orangepi@orangepi:~$ '''aplay -D hw:1,0 /usr/share/sounds/alsa/audio.wav'''
 
<span id="use-the-command-to-test-the-recording-method"></span>
=== Use the command to test the recording method ===