[alsa-devel] print audio ring buffer in kernel space

Clemens Ladisch clemens at ladisch.de
Thu Oct 29 21:06:26 CET 2015


Ankhit Vivekananda wrote:
> I am trying to print the ring buffer used for DMA transfer using ALSA in
> kernel space. I was able to print the ring buffer in user space after
> calling the snd_pcm_readi() function. But, wanted to know as to which file
> I need to be looking at to print the hardware buffer in kernel space.

The driver typically does not access the buffer.  There is no such file.

(And why would you need it?  Do you suspect an error in the
implementation of snd_pcm_readi()?)


Regards,
Clemens


More information about the Alsa-devel mailing list