diff options
author | Volker Rümelin <vr_qemu@t-online.de> | 2022-09-23 20:36:38 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-10-11 10:17:08 +0200 |
commit | 0724c57988f4ad826b02f12093ace5ef657cec21 (patch) | |
tree | 0a0e6da53db172bfdb1afaa58eab3c6569758dc6 /qga | |
parent | c4e592647e161fe23adc3eccd8743b285e4b342b (diff) |
audio: refactor audio_get_avail()
Split out the code in audio_get_avail() that calculates the
buffer size that the audio frontend can read. This is similar
to the code changes in audio_get_free().
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-10-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qga')
0 files changed, 0 insertions, 0 deletions