[alsa-devel] [PATCH - IOPLUG DRAIN 0/2]

Takashi Iwai tiwai at suse.de
Thu Mar 22 15:55:28 CET 2018


On Thu, 22 Mar 2018 15:50:35 +0100,
Wischer, Timo (ADITG/ESB) wrote:
> 
> Hi Takashi,
> 
> but in this case each IO plugin has to have its own thread which checks for io->state == DRAINING to start draining.
> For example the pulse plugin do not have an own thread.

I don't understand.  The pulse plugin calls pa_stream_drain(), and
pulse_wait_operation() to wait until the drain finishes.  What does it
have to do with threading?


Takashi


More information about the Alsa-devel mailing list