OSDN Git Service

pcm: plugin - fix status code for capture
authorJaroslav Kysela <perex@perex.cz>
Mon, 4 Jan 2021 11:32:25 +0000 (12:32 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 4 Jan 2021 11:32:27 +0000 (12:32 +0100)
commitda5b70d3fae091a8568b80a476c1cf340965805a
treed8c5c09664b4433427affe84f387ed5ef1e02eac
parentfc0f7af9ee7bd4c31c2bab229e8e79eb96e908fa
pcm: plugin - fix status code for capture

The recent updates do not take in account the possible
calls for the capture stream. Fix the avail and delay
inconsistencies (and assert).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_plugin.c