15 Jun
2016
15 Jun
'16
9 a.m.
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