VAR-SOM-MX6 Audio record play: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{PageHeader|VAR-SOM-MX6 - Audio Record/Play}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__ | {{PageHeader|VAR-SOM-MX6 - Audio Record/Play}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__ | ||
= Get information on the Sound Cards = | |||
<pre> | |||
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 | <pre>$ amixer set PCM 125 | ||
$ aplay /usr/share/sounds/alsa/Front_Center.wav | $ aplay /usr/share/sounds/alsa/Front_Center.wav |
Revision as of 13:11, 16 December 2015
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