VAR-SOM-MX6 Audio record play

From Variscite Wiki
Revision as of 13:11, 16 December 2015 by Ron (talk | contribs)
VAR-SOM-MX6 - Audio Record/Play

Get information on the Sound Cards

root@var-som-mx6:~# cat /proc/asound/cards
 0 [tlv320aic3xaudi]: tlv320aic3x-aud - tlv320aic3x-audio
                      tlv320aic3x-audio
 1 [imxhdmisoc     ]: imx-hdmi-soc - imx-hdmi-soc
                      imx-hdmi-soc
<pre/>


<pre>$ amixer set PCM 125
$ aplay /usr/share/sounds/alsa/Front_Center.wav
$ arecord -f cd -d 10 -D hw:0,0 test.wav
$ aplay test.wav