[alsa-devel] [PATCH v3] ALSA: pcm: Return 0 when size < start_threshold in capture

Takashi Iwai tiwai at suse.de
Sun Aug 26 09:31:21 CEST 2018


On Sat, 25 Aug 2018 21:53:23 +0200,
Ricardo Biehl Pasquali wrote:
> 
> 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 at gmail.com>
> ---
> 
> version 3:
> Set 'err' variable inside 'else' block.

OK, re-queued this one in my local branch.  Will be published once
after 4.19-rc1 is released.


thanks,

Takashi


More information about the Alsa-devel mailing list