diff options
author | Volker Rümelin | 2022-09-23 20:36:38 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2022-10-11 10:17:08 +0200 |
commit | 0724c57988f4ad826b02f12093ace5ef657cec21 (patch) | |
tree | 0a0e6da53db172bfdb1afaa58eab3c6569758dc6 /audio/audio_template.h | |
parent | audio: rename audio_sw_bytes_free() (diff) | |
download | qemu-0724c57988f4ad826b02f12093ace5ef657cec21.tar.gz qemu-0724c57988f4ad826b02f12093ace5ef657cec21.tar.xz qemu-0724c57988f4ad826b02f12093ace5ef657cec21.zip |
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 'audio/audio_template.h')
0 files changed, 0 insertions, 0 deletions