OSDN Git Service

pcm: plugin status - revert the recent changes
authorJaroslav Kysela <perex@perex.cz>
Sun, 3 Jan 2021 15:16:10 +0000 (16:16 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 3 Jan 2021 15:16:44 +0000 (16:16 +0100)
commit49eea5d7bc7d39f9a4cc1f3b3a813e90b90519eb
tree9dbe7fb2b639f3aa3affa2239dd1ee4100e7730c
parentafe6ff3b33ee6e5ea3511fe458bfd4e516b10bcf
pcm: plugin status - revert the recent changes

It's no reason to sync the avail/delay fields using the mirrored
buffer pointers. The slave information must be valid.

The original report probably tries to fix something for
the specific plugin. Revert all changes.

Fixes: afe6ff3b33e ("pcm: plugin status - fix the return value (regression)")
Fixes: 4f90392f07e ("pcm: fix the snd_pcm_plugin_status() avail and delay fields")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_plugin.c