30 Dec
2022
30 Dec
'22
8:17 p.m.
On 30. 12. 22 17:48, Alan Young wrote:
Wrap last_commit_ptr using boundary. Was just wrapped to 0, which is correct only if the buffer size, and hence the boundary, is an integer multiple of the period size.
Signed-off-by: Alan Young consult.awy@gmail.com Fixes: 467d69c5bc1 ("Fix CPU hog with combination of rate plugin") Fixes: 29041c52207 ("fix infinite draining of the rate plugin in SND_PCM_NONBLOCK mode")
Thanks for this fix. Applied to the alsa-lib's repository.
Jaroslav
--
Jaroslav Kysela perex@perex.cz
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.