summaryrefslogtreecommitdiffstats
path: root/audio/audio_template.h
diff options
context:
space:
mode:
authorVolker Rümelin2022-09-23 20:36:38 +0200
committerGerd Hoffmann2022-10-11 10:17:08 +0200
commit0724c57988f4ad826b02f12093ace5ef657cec21 (patch)
tree0a0e6da53db172bfdb1afaa58eab3c6569758dc6 /audio/audio_template.h
parentaudio: rename audio_sw_bytes_free() (diff)
downloadqemu-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