commit | 62ba568f7aef4beb0eda945a2b2a91b7a2b8f215 | [log] [tgz] |
---|---|---|
author | Ricardo Biehl Pasquali <pasqualirb@gmail.com> | Sat Aug 25 16:53:23 2018 -0300 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Aug 27 07:27:55 2018 +0200 |
tree | 795a9cda7d9fa3cf07f8c3a7d7a61dd53496649b | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 [diff] |
ALSA: pcm: Return 0 when size < start_threshold in capture In __snd_pcm_lib_xfer(), when capture, if state is PREPARED and size is less than start_threshold nothing can be done. As there is no error, 0 is returned. Signed-off-by: Ricardo Biehl Pasquali <pasqualirb@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>