Re: [PATCH] ALSA: pcm: Return 0 when size < start_threshold in capture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 21 Aug 2018 21:46:43 +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.
> 
> Am I missing something?

Not really :)
It's just an undefined behavior, so far, and yes, the suggested
behavior makes more sense.

Could you resubmit a proper patch for merging?  Please follow
Documentation/process/submitting-patches.rst.


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux