audio: add pcm_ops function table for capture backend
commit33940dd3368f1c8b490f9aa3a762727f6b6df106
authorVolker Rümelin <vr_qemu@t-online.de>
Tue, 1 Mar 2022 19:13:04 +0000 (1 20:13 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 4 Mar 2022 10:05:13 +0000 (4 11:05 +0100)
tree0da8cd0963a218ae94e7cf562bb56738b05b2794
parenta806f95904cdb825c7b9d0cda95c8944907fb226
audio: add pcm_ops function table for capture backend

Add a pcm_ops function table for the capture backend. This avoids
additional code in the next patches to test if the pcm_ops table
is available.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20220301191311.26695-8-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/audio.c