[alsa-devel] [PATCH - JACK plugin 4/4] jack: Support snd_pcm_drain()
Takashi Iwai
tiwai at suse.de
Wed Mar 21 18:07:32 CET 2018
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
More information about the Alsa-devel
mailing list