Re: [PATCH - JACK plugin 4/4] jack: Support snd_pcm_drain()

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

 



On Wed, 21 Mar 2018 18:02:18 +0100,
Wischer, Timo (ADITG/ESB) wrote:
> 
> >It means that the pulse plugin is buggy.  And fixing in ioplug will
> > fix the whole.
> 
> Possibly it is to late but I have no idea how to change the IO plug API implementation that draining of all IO plugins is working 
> without changing the IO plugins it self.
> When ever I am calling the drain callback of an IO plugin it is blocking
> but I have to call it to signal to the IO plugin that I want to drain.

Why not poll()?

IOW, why ioplug must be handled specially regarding the non-blocking
operation?  The normal kernel driver behaves like that (returning
-EAGAIN, and let apps to sync with poll()).


Takashi
_______________________________________________
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