Page 1 of 1

NanoPI Neo What are the SNDHDMI and AUDIOCODEC alsa output?

Posted: Thu Apr 06, 2017 6:52 am
by Pat
Hi,

2 Alsa outputs are available by default when you list them on the NanoPI Neo with or without the HAT 5102A plugged.
We can see "audiocodec" and "sndhdmi".

I would like to pick up the I2S data and bring the I2S port to an external DAC.
Besides that, the HAT 5102 does not work, but I don't know if it is because I should use another Alsa output...

Thanks

Re: NanoPI Neo What are the SNDHDMI and AUDIOCODEC alsa output?

Posted: Mon Apr 10, 2017 9:51 am
by jjm
Hi ,
About how to use 5102 you can see the wiki :http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_NanoHat_PCM5102A/ that web page has detailed steps.

If you want to use another Alsa output, you can refer to the follow image. You can use this command to record:
#arecord -D hw:0,0 -f cd test.wav
and use the follow command to play the audio:
#aplay test.wav

Image