Difference between revisions of "AFE-R761 Audio"

From ESS-WIKI
Jump to: navigation, search
(Created page with " === '''Hardware pin definition:''' ===  ")
 
Line 1: Line 1:
 +
  
 
=== '''Hardware pin definition:''' ===
 
=== '''Hardware pin definition:''' ===
 +
 +
[[File:AFE-R761 Audio.jpg|RTENOTITLE]]
 +
 +
[[File:AFE-R761 Audio Pin name.png|RTENOTITLE]]
 +
 +
=== '''SW Function:''' ===
 +
 +
AFE-R761 supports two kinds of sound cards: "0 hdmi" and "1 es8326c". To set the default audio output for media playback, follow these steps:
 +
 +
==== '''Setting:''' ====
 +
 +
1. Click “Applications” ->”Multimedia”->”PulseAudio Volume Control”.
 +
 +
2. Select “Build-in Audio stereo” for es8326c-codec output, or select “HDMI” for HDMI output.
 +
 +
[[File:ASR-A501 AUDIO 1.png]]
 +
 +
==== '''Mute and Volume Control:''' ====
 +
 +
Mute and volume can be configured by GUI.
 +
 +
 
 +
 +
=== '''Audio Test''' ===
 +
 +
'''1. Get sound card ID.'''
 +
<pre># cat /proc/asound/cards
 +
0 [rockchiphdmi0 ]: rockchip-hdmi0 - rockchip-hdmi0 rockchip-hdmi0
 +
1 [rockchipes8326c]: simple-card - rockchip,es8326-codec rockchip,es8326-codec
 +
</pre>
 +
 +
'''2. Record'''
 +
 +
Take Card ID 1 for example:
 +
<pre># arecord -Dplughw:1,0 -f S16_LE -r 16000 -d 10 -t wav test.wav
 +
</pre>
 +
 +
'''3. Playback'''
 +
 +
Take Card ID 0 for example:
 +
<pre># aplay -Dplughw:0,0 -t wav test.wav
 +
</pre>
 +
 +
See details of the usage of&nbsp; "aplay":
 +
<pre># aplay --help
 +
… …
 +
-D, --device=NAME select PCM by name
 +
-t, --file-type TYPE file type (voc, wav, raw or au)
 +
… …</pre>
  
 
&nbsp;
 
&nbsp;

Revision as of 07:16, 13 January 2026


Hardware pin definition:

RTENOTITLE

RTENOTITLE

SW Function:

AFE-R761 supports two kinds of sound cards: "0 hdmi" and "1 es8326c". To set the default audio output for media playback, follow these steps:

Setting:

1. Click “Applications” ->”Multimedia”->”PulseAudio Volume Control”.

2. Select “Build-in Audio stereo” for es8326c-codec output, or select “HDMI” for HDMI output.

ASR-A501 AUDIO 1.png

Mute and Volume Control:

Mute and volume can be configured by GUI.

 

Audio Test

1. Get sound card ID.

# cat /proc/asound/cards
0 [rockchiphdmi0 ]: rockchip-hdmi0 - rockchip-hdmi0 rockchip-hdmi0
1 [rockchipes8326c]: simple-card - rockchip,es8326-codec rockchip,es8326-codec

2. Record

Take Card ID 1 for example:

# arecord -Dplughw:1,0 -f S16_LE -r 16000 -d 10 -t wav test.wav

3. Playback

Take Card ID 0 for example:

# aplay -Dplughw:0,0 -t wav test.wav

See details of the usage of  "aplay":

# aplay --help
… …
-D, --device=NAME select PCM by name
-t, --file-type TYPE file type (voc, wav, raw or au)
… …