ALSA: pcm: Revert capture stream behavior change in blocking mode
Quoted 2 lines · Takashi Iwai
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.
pasquali
Quoted 7 lines · Ricardo Biehl Pasquali
Quoted 2 lines · Takashi Iwai
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.
Quoted 8 lines
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