Collect raw PCM data from DMIC

Hi Team,

Is there any way to collect raw PCM data(from DMIC1) from sysfs/minimal ioctl calls. I want to read these raw PCM data buffers from user space application and compare/post process.

@jonathanh

Thanks,
Arun

Hello!

Not that I am aware of. However, arecord will dump the raw PCM samples to a file.

Regards
Jon

Thanks for reply.

Is there any other way to read it from capture device node pcmC0D0c directly

I am looking for something like this,

$cat /dev/snd/pcmC0D0c

Thanks,
Arun