This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:edge2:applications:es8316 [2022/12/07 20:29] hyphop [Edge2 ES8316 Codec] |
products:sbc:edge2:applications:es8316 [2023/03/09 19:58] (current) nick [Edge2 and ES8316 Audio Usage] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Edge2 ES8316 Audio Codec usage ====== | + | ====== Edge2 and ES8316 Audio Usage ====== |
<WRAP important > | <WRAP important > | ||
- | ES8316 codec usage require [[|Edge2 IO extension board]]. | + | ES8316 codec usage require [[https:// |
</ | </ | ||
Line 8: | Line 8: | ||
===== Alsa audio device HW name ===== | ===== Alsa audio device HW name ===== | ||
- | ```shell | + | Access to **ES8316** codec will be available by '' |
+ | |||
+ | ```shell | ||
~# aplay -L | grep rockchipes8316c -m1 | ~# aplay -L | grep rockchipes8316c -m1 | ||
hw: | hw: | ||
Line 16: | Line 18: | ||
``` | ``` | ||
- | Access to es8316 codec will be available by '' | ||
===== Alsa audio device HW index ===== | ===== Alsa audio device HW index ===== | ||
- | ```shell | + | ```shell |
~# arecord -l | grep es8316-codec -A2 | ~# arecord -l | grep es8316-codec -A2 | ||
card 3: rockchipes8316c [rockchip, | card 3: rockchipes8316c [rockchip, | ||
Line 32: | Line 33: | ||
``` | ``` | ||
- | The sound **card 3** is the ES8316 device and audio device HW index is **3**. | + | The sound **card 3** is the ES8316 device and audio device HW index is '' |
===== Record from ES8316 ===== | ===== Record from ES8316 ===== | ||
Line 46: | Line 47: | ||
``` | ``` | ||
- | < | + | < |
The headphone mic has the higher priority than the AMIC, which means if you connect the headphone then will record from the headphone mic, otherwise record from the AMIC. | The headphone mic has the higher priority than the AMIC, which means if you connect the headphone then will record from the headphone mic, otherwise record from the AMIC. | ||
</ | </ | ||
Line 63: | Line 64: | ||
``` | ``` | ||
- | < | + | < |
The headphone has the higher priority than the speaker, which means if you connect the headphone then will play from the headphone, otherwise play from the speaker. | The headphone has the higher priority than the speaker, which means if you connect the headphone then will play from the headphone, otherwise play from the speaker. | ||
</ | </ | ||