I have a pdm microphone connected to the board.
I am using the amixer driver and it has been loaded without errors. Now I having some trouble capturing the audio.
I have also tried the following command:
gst-launch-1.0 -v alsasrc device=plughw:1,0 ! queue ! audioconvert ! audio/x-raw, rate=16000 ! vorbisenc ! oggmux ! filesink location=alsasrc.ogg
the ouput of the above command:
After the above command the dmesg | grep micfil output:
Using amixer sset Channel_ID I can change the decibel level.
What amixer command should I use to go about capturing the audio? How would I know which audio device to use?
for amixer usage one can look at sect.7.5 Audio Mixer (AUDMIX) i.MX Linux Reference Manual
and examples in
Thanks for getting back to me, the manual you have referred me to look at I have went over it and I haven't found anything concrete please provide further guidance.
Secondly I was hoping you can give me more in site on the error:
[116004.923246] fsl-micfil-dai 30ca0000.micfil: ASoC: can't open component 30ca0000.micfil: -6
[116032.879723] fsl-micfil-dai 30ca0000.micfil: ASoC: can't open component 30ca0000.micfil: -6
[116440.582560] fsl-micfil-dai 30ca0000.micfil: ASoC: can't open component 30ca0000.micfil: -6
Does the error above indicate a problem with the device tree or the driver not being loaded properly? I am starting to believe this might not have anything to do with capturing audio but the driver not being able to load properly.
what bsp and dts used in the case, one can look at below (compatible = "fsl,imx8mp-micfil"; compatible = "fsl,imx-audio-micfil"; model = "imx-audio-micfil";)
One can try to debug it using sect.18.104.22.168 Source Code Structure i.MX Linux Reference Manual