From: Takashi Iwai Subject: Re: [PATCH - JACK plugin 2/4] jack: Use internal snd_pcm_state to reduce amount of additional variables Date: Thu, 01 Mar 2018 16:26:52 +0100 Message-ID: References: <1519910048-19732-1-git-send-email-twischer@de.adit-jv.com> <1519910048-19732-3-git-send-email-twischer@de.adit-jv.com> 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 E556426796E for ; Thu, 1 Mar 2018 16:26:52 +0100 (CET) In-Reply-To: <1519910048-19732-3-git-send-email-twischer@de.adit-jv.com> 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: twischer@de.adit-jv.com Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Thu, 01 Mar 2018 14:14:06 +0100, wrote: > > From: Timo Wischer > > This variable will be used to exchange the status of the stream between > the ALSA and JACK thread. > In future commits it will also be used > to signal DRAINING state from the ALSA to JACK thread and > to signal XRUN state form the JACK to ALSA thread So in which situation would io->state and jack->state differ with each other? Only DRAINING and XRUN, or in other cases? Takashi