For recording, i am using this command on iMX8M
arecord [-Dplughw:0,0] -r 44100 -f S16_LE -c 2 -d 5 record.wav
Output :
root@imx8mqevk:/home# arecord [-Dplughw:0,0] -r 44100 -f S16_LE -c 2 -d 5 record.wav
ALSA lib ../../../alsa-lib-1.1.4.1/src/pcm/pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:828: audio open error: No such file or directory
Before this we need to set amixer to enable microphone. But I don;t know how to set it up for iMX8M.
can anybody help me on this ?
Hello,
Which Linux version are you using?
Best Regards,
Diego.
Hello,
The reason is that the audio codec that the board has, doesn't support any audio input. For that reason, the gstreamer pipeline can't open the audio card. The only way to record audio is through software, for that I recommend you to use a USB microphone. I apologize for the inconveniences.
Best Regards,
Diego.