[alsa-devel] How does ALSALIB commuciates with low level kernel API

Vinod Koul vinod.koul at intel.com
Mon Jun 20 19:43:52 CEST 2016


On Wed, Jun 15, 2016 at 12:12:24AM +0100, Chemsi Mehdi wrote:
> Dear experts,
> 
> I am too new in ALSA, trying to read a little bit and understand.
> I want to underatnd how ALSA userspace API calls kernel space code ?
> for example when I call  snd_pcm_open() which code is called in kernel
> sound code ?

easist would be to start gdb on alsa-lib snd_pcm_open() and start tracing
the steps.


> and how the link is made ? via IOCTL/write ?

IOCTL, see sound/core/pcm_native.c on kernel side..

-- 
~Vinod


More information about the Alsa-devel mailing list