Chemsi Mehdi wrote: > 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 ? The generic PCM code in alsa-lib/src/pcm/pcm.c calls some plugin. The "hw" plugin (in pcm_hw.c) handles communication with the kernel. The kernel code is in sound/core/. > and how the link is made ? via IOCTL/write ? Yes. Regards, Clemens _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel