]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: rate - correct the previous fix for snd_pcm_rate_may_wait_for_avail_min()
authorJaroslav Kysela <perex@perex.cz>
Wed, 9 Nov 2022 08:31:34 +0000 (09:31 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 9 Nov 2022 08:35:05 +0000 (09:35 +0100)
commit39060852d810461dc8cd1464cfb2ffe84da42d56
tree9bff3ef137573a3b3173b56322cf3ffbb284bb67
parentaa4f56c3c952269c36464cc0da9db5a1381648fa
pcm: rate - correct the previous fix for snd_pcm_rate_may_wait_for_avail_min()

The previous fix in aa4f56c3 was not correct. The root of the cause is
implementation in snd_pcm_may_wait_for_avail_min() inline function
where the improper pcm argument is passed to the fast_ops function.

Fixes: aa4f56c3 ("pcm: rate - fix the crash in snd_pcm_rate_may_wait_for_avail_min()")
Fixes: d9dbb57b ("pcm: rate - rewrite the may_wait_for_avail_min callback for the rate plugin")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_local.h
src/pcm/pcm_plugin.c