[alsa-devel] [PATCH] ALSA: pcm: Revert capture stream behavior change in blocking mode

Takashi Iwai tiwai at suse.de
Fri Feb 8 19:56:27 CET 2019


On Fri, 08 Feb 2019 18:46:12 +0100,
Ricardo Biehl Pasquali wrote:
> 
> Takashi Iwai wrote:
> > e.g. one thread goes to a write loop in blocking mode while another
> > thread controls the start/stop of the stream manually.
> 
> You meant a read loop. Agreed.
> 
> What about adding a comment like:
> 
> /*
>  * If size < start_threshold, wait indefinitely. Another
>  * thread may start capture
>  */
> 
> So no one will bring this idea again.

Yes, more comment might be helpful.
Feel free to submit a patch to add that.


thanks,

Takashi


More information about the Alsa-devel mailing list