From: Takashi Iwai Subject: Re: [PATCH - JACK plugin 4/4] jack: Support snd_pcm_drain() Date: Wed, 21 Mar 2018 17:52:26 +0100 Message-ID: References: <1519910048-19732-1-git-send-email-twischer@de.adit-jv.com> <1519910048-19732-5-git-send-email-twischer@de.adit-jv.com> <3f0f0873-9544-050d-ef69-35d4b23e8c6c@perex.cz> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id E0920267282 for ; Wed, 21 Mar 2018 17:52:28 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: "Wischer, Timo (ADITG/ESB)" Cc: ALSA development List-Id: alsa-devel@alsa-project.org On Wed, 21 Mar 2018 17:47:35 +0100, Wischer, Timo (ADITG/ESB) wrote: > > > And this check can be done even in > > snd_pcm_ioplug_drain(), so we can fix all in a shot. > > For example the drain callback of the pulse IO plugin is blocking > but we need to call this callback to inform the IO plugin that it should drain. It means that the pulse plugin is buggy. And fixing in ioplug will fix the whole. Takashi