Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2:applications:es8316

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:edge2:applications:es8316 [2022/12/07 20:35]
hyphop [Alsa audio device HW name]
products:sbc:edge2:applications:es8316 [2023/03/09 19:58] (current)
nick [Edge2 and ES8316 Audio Usage]
Line 2: Line 2:
  
 <WRAP important > <WRAP important >
-ES8316 codec usage require [[|Edge2 IO extension board]].+ES8316 codec usage require [[https://www.khadas.com/product-page/edge2-io-module|Edge2 IO extension board]].
 </WRAP> </WRAP>
  
Line 8: Line 8:
 ===== Alsa audio device HW name ===== ===== Alsa audio device HW name =====
  
-```shell +Access to **ES8316** codec will be available by ''hw:CARD=rockchipes8316c'' alsa audio device HW name, for example: ''aplay -D **hw:CARD=rockchipes8316c** ... '' 
 + 
 +```shell print ES8316 hw name 
 ~# aplay -L | grep rockchipes8316c -m1 ~# aplay -L | grep rockchipes8316c -m1
 hw:CARD=rockchipes8316c,DEV=0 hw:CARD=rockchipes8316c,DEV=0
Line 16: Line 18:
 ``` ```
  
-Access to es8316 codec will be available by ''hw:CARD=rockchipes8316c'' alsa audio device HW name, for example: ''aplay -D **hw:CARD=rockchipes8316c** ... '' 
 ===== Alsa audio device HW index ===== ===== Alsa audio device HW index =====
  
-```shell+```shell print ES8316 hw index
 ~# arecord -l | grep es8316-codec -A2 ~# arecord -l | grep es8316-codec -A2
 card 3: rockchipes8316c [rockchip,es8316-codec], device 0: fe470000.i2s-ES8316 HiFi ES8316 HiFi-0 [fe470000.i2s-ES8316 HiFi ES8316 HiFi-0] card 3: rockchipes8316c [rockchip,es8316-codec], device 0: fe470000.i2s-ES8316 HiFi ES8316 HiFi-0 [fe470000.i2s-ES8316 HiFi ES8316 HiFi-0]
Last modified: 2022/12/07 20:35 by hyphop