On Wed, Sep 11, 2019 at 11:14:31AM -0300, Ricardo Biehl Pasquali wrote:
This patch was reverted by the commit 932a81519572156a88db ("ALSA: pcm: Comment why read blocks when PCM is not running"):
Sorry. It was reverted by 00a399cad1a0 ("ALSA: pcm: Revert capture stream behavior change in blocking mode"). The commit I mentioned just add a comment as described below:
This avoids bringing back the problem introduced by 62ba568f7aef ("ALSA: pcm: Return 0 when size < start_threshold in capture") and fixed in 00a399cad1a0 ("ALSA: pcm: Revert capture stream behavior change in blocking mode"), which prevented the user from starting capture from another thread.