alsaaudio: reduce playback latency
commit5a9d7ae25175d19f9380128ac17f87816fe6f049
authorVolker Rümelin <vr_qemu@t-online.de>
Fri, 23 Sep 2022 18:36:32 +0000 (23 20:36 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Oct 2022 08:17:08 +0000 (11 10:17 +0200)
tree6663022e29b61ee676de2fd8a7b6b5462a77d8b2
parentdd052dbfbf608cc656082173541973f09867747a
alsaaudio: reduce playback latency

Change the buffer_get_free pcm_ops function to report the free
ALSA playback buffer. The generic buffer becomes a temporary
buffer and is empty after a call to audio_run_out().

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