Re: Are ALSA io plugins implemented as threads or does ALSA use fork() ?

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

 



Jaroslav Kysela wrote:
> On Fri, 19 Mar 2010, Stefan Schoenleitner wrote:
>> * Are these instances running as separate processes (i.e. fork()) or are
>> they implemented as threads ? How is this implemented internally in the
>> ALSA code ?
> 
> No forks or threads. Both instances will run in one process with the
> audio application. The plugin code must take core how many pcm instances
> are active and send the appropriate communication file descriptors to
> application for select/poll I/O multiplexing.

Thanks for the quick answer, I have a better understanding of the plugin
concept now.

cheers,
Stefan
_______________________________________________
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