Re: How does ALSALIB commuciates with low level kernel API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux