[alsa-devel] [PATCH - JACK plugin 2/4] jack: Use internal snd_pcm_state to reduce amount of additional variables

Takashi Iwai tiwai at suse.de
Thu Mar 1 16:26:52 CET 2018


On Thu, 01 Mar 2018 14:14:06 +0100,
<twischer at de.adit-jv.com> wrote:
> 
> From: Timo Wischer <twischer at de.adit-jv.com>
> 
> 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


More information about the Alsa-devel mailing list