spiceaudio: add a pcm_ops buffer_get_free function
commit90320051ea998b6ac336cd635f8014ccb31154bd
authorVolker Rümelin <vr_qemu@t-online.de>
Fri, 23 Sep 2022 18:36:34 +0000 (23 20:36 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Oct 2022 08:17:08 +0000 (11 10:17 +0200)
treeab428a0b08f5880766a0f612a0ea569c2ad5f07d
parent02732641c0ffdedb6533b9ddeaf8e95a3be88ec6
spiceaudio: add a pcm_ops buffer_get_free function

It seems there is a demand [1] for low latency playback over
SPICE. Add a pcm_ops buffer_get_free function to reduce the
playback latency. The mixing engine buffer becomes a temporary
buffer.

[1] https://lists.nongnu.org/archive/html/qemu-devel/2022-01/msg01644.html

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-6-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/spiceaudio.c