[PATCH] fix infinite draining of the rate plugin in SND_PCM_NONBLOCK mode

Jaroslav Kysela perex at perex.cz
Thu Apr 30 14:26:05 CEST 2020


Dne 28. 04. 20 v 14:09 sylvain.bertrand at gmail.com napsal(a):
> The draining function of the rate plugin does not handle properly the
> SND_PCM_NONBLOCK case. It can write data to the slave plugin each time the
> function is called, but does not update its internal state in order to
> reach a stopping condition. Use a last_commit_ptr workaround to reach such
> condition.
> 
> signed-off-by: Sylvain BERTRAND <sylvain.bertrand at legeek.net>

Applied. Thank you.

				Jaroslav

-- 
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.


More information about the Alsa-devel mailing list