Now in a clean manner as composed patches. pcm: ioplug: Provide avail helper function --------- No changes jack: Avoid call to snd_pcm_avail_update() from JACK thread --------- v2 uses snd_pcm_uframes_t as type for avail and does not check for avail < 0 becasue snd_pcm_ioplug_avail() will never retrun a value < 0 jack: Update poll_fd also in draining state --------- This patch is depending on [1]. Therefore it was rebased on top of [1]. Additionally the commit message was extended. v1 of this patch can be found in [2]. [1] http://mailman.alsa-project.org/pipermail/alsa-devel/2018-July/137775.html [2] http://mailman.alsa-project.org/pipermail/alsa-devel/2018-July/137769.html _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel