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

Takashi Iwai tiwai at suse.de
Wed Mar 21 17:34:10 CET 2018


On Wed, 21 Mar 2018 17:22:27 +0100,
Wischer, Timo (ADITG/ESB) wrote:
> 
> Hi Jaroslav and Takashi,
> 
> What do you think about my "ugly" solution?
> Should I provide a patch for it or do we want to keep snd_pcm_drain() blocking as all other IO plugins it do?

All ioplug plugins should behave equivalently like the real kernel
driver, i.e. it should do -EAGAIN.  And this check can be done even in
snd_pcm_ioplug_drain(), so we can fix all in a shot.


thanks,

Takashi


More information about the Alsa-devel mailing list